Skip to content

Commit

Permalink
tools: add missing tick processor polyfill
Browse files Browse the repository at this point in the history
The polyfill is only needed if incorrect command line arguments
are passed to the script so it was missed in initial testing.

PR-URL: #2694
Reviewed-By: Ben Noordhuis <[email protected]>
  • Loading branch information
Matt Loring authored and rvagg committed Sep 15, 2015
1 parent 7b16597 commit 6d9198f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/v8-prof/polyfill.js
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand Down

0 comments on commit 6d9198f

Please sign in to comment.