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 <info@bnoordhuis.nl>
  • Loading branch information
Matt Loring authored and Fishrock123 committed Sep 15, 2015
1 parent 519caba commit ff6d30d
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 ff6d30d

Please sign in to comment.