From 7ab94e75b73518c1348af55a3a29362fd31c24df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C3=ABl=20Zasso?= Date: Sat, 18 Jun 2022 08:48:19 +0200 Subject: [PATCH] test: rename always-opt flag to always-turbofan Refs: https://chromium-review.googlesource.com/c/v8/v8/+/3610431 --- test/v8-updates/test-linux-perf.js | 2 +- tools/test.py | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) 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: