projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
519caba
)
tools: add missing tick processor polyfill
author
Matt Loring
<mattloring@google.com>
Fri, 4 Sep 2015 19:01:07 +0000
(12:01 -0700)
committer
Jeremiah Senkpiel
<fishrock123@rocketmail.com>
Tue, 15 Sep 2015 01:51:00 +0000
(21:51 -0400)
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>
tools/v8-prof/polyfill.js
patch
|
blob
|
history
diff --git
a/tools/v8-prof/polyfill.js
b/tools/v8-prof/polyfill.js
index 0d78391b836d67824a2a1ed10f8c033b03534a40..24661c70023e1678334f0bda64cca6fef35da645 100644
(file)
--- 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');