diff --git a/test/v8-updates/test-linux-perf.js b/test/v8-updates/test-linux-perf.js index 58388d37ce5..c52bffeef26 100644 --- a/test/v8-updates/test-linux-perf.js +++ b/test/v8-updates/test-linux-perf.js @@ -61,7 +61,7 @@ const perfCompiledFramesArgs = [ '--', process.execPath, ...nodeCommonFlags, - '--always-opt', + '--always-turbofan', fixtures.path('linux-perf.js'), `${sleepTime}`, `${repeat}`, diff --git a/tools/test.py b/tools/test.py index 9a7de5ed24d..9ffae266709 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1593,9 +1593,9 @@ def Main(): if options.check_deopts: options.node_args.append("--trace-opt") options.node_args.append("--trace-file-names") - # --always-opt is needed because many tests do not run long enough for the - # optimizer to kick in, so this flag will force it to run. - options.node_args.append("--always-opt") + # --always-turbofan is needed because many tests do not run long enough for + # the optimizer to kick in, so this flag will force it to run. + options.node_args.append("--always-turbofan") options.progress = "deopts" if options.worker: