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 <info@bnoordhuis.nl>
Reviewed-By: Jiawen Geng <technicalcute@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
Michaël Zasso 2022-06-18 08:48:19 +02:00
parent 1acf0339dd
commit b5f1564880
No known key found for this signature in database
GPG Key ID: 770F7A9A5AE15600
2 changed files with 4 additions and 4 deletions

View File

@ -61,7 +61,7 @@ const perfCompiledFramesArgs = [
'--',
process.execPath,
...nodeCommonFlags,
'--always-opt',
'--always-turbofan',
fixtures.path('linux-perf.js'),
`${sleepTime}`,
`${repeat}`,

View File

@ -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: