diff --git a/tools/v8-prof/polyfill.js b/tools/v8-prof/polyfill.js index 0d78391b83..24661c7002 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');