diff options
author | Matt Loring <mattloring@google.com> | 2015-09-04 12:01:07 -0700 |
---|---|---|
committer | Jeremiah Senkpiel <fishrock123@rocketmail.com> | 2015-09-14 21:51:00 -0400 |
commit | ff6d30d784c37b1a74140fdff0a714e3403d410f (patch) | |
tree | 15dc902e337381453664f41a47dd079e70ff1dc9 /tools | |
parent | 519caba021f0d4d953c861a604ef3f909f6061ae (diff) | |
download | nodejs-ff6d30d784c37b1a74140fdff0a714e3403d410f.tar.gz nodejs-ff6d30d784c37b1a74140fdff0a714e3403d410f.tar.bz2 nodejs-ff6d30d784c37b1a74140fdff0a714e3403d410f.zip |
tools: add missing tick processor polyfill
The polyfill is only needed if incorrect command line arguments
are passed to the script so it was missed in initial testing.
PR-URL: https://github.com/nodejs/node/pull/2694
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Diffstat (limited to 'tools')
-rw-r--r-- | tools/v8-prof/polyfill.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/v8-prof/polyfill.js b/tools/v8-prof/polyfill.js index 0d78391b8..24661c700 100644 --- a/tools/v8-prof/polyfill.js +++ b/tools/v8-prof/polyfill.js @@ -47,6 +47,7 @@ function read(fileName) { return fs.readFileSync(fileName, 'utf8'); } arguments = process.argv.slice(2); +var quit = process.exit; // Polyfill "readline()". var fd = fs.openSync(arguments[arguments.length - 1], 'r'); |