Skip to content

Commit ff6d30d

Browse files
Matt LoringFishrock123
Matt Loring
authored andcommitted
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: #2694 Reviewed-By: Ben Noordhuis <[email protected]>
1 parent 519caba commit ff6d30d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/v8-prof/polyfill.js

+1
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@ function read(fileName) {
4747
return fs.readFileSync(fileName, 'utf8');
4848
}
4949
arguments = process.argv.slice(2);
50+
var quit = process.exit;
5051

5152
// Polyfill "readline()".
5253
var fd = fs.openSync(arguments[arguments.length - 1], 'r');

0 commit comments

Comments
 (0)