From b5f1564880d24a26924a0aa5882c727e405b5281 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 PR-URL: https://github.com/nodejs/node/pull/44741 Reviewed-By: Ben Noordhuis Reviewed-By: Jiawen Geng Reviewed-By: James M Snell --- 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 58388d37ce52ea..c52bffeef2618f 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 788d68734fe250..af276931cbf741 100755 --- a/tools/test.py +++ b/tools/test.py @@ -1616,9 +1616,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: