test: remove --always-turbofan flag

It was removed from V8.

Refs: 7779ff03eb
This commit is contained in:
Michaël Zasso 2025-08-05 18:27:47 +02:00
parent 3899fa72fb
commit ab7d3693d6
No known key found for this signature in database
GPG key ID: 770F7A9A5AE15600
3 changed files with 2 additions and 6 deletions

View file

@ -55,7 +55,7 @@ const testCases = [
}, },
{ {
title: '--perf-basic-prof compiled', title: '--perf-basic-prof compiled',
nodeFlags: ['--perf-basic-prof', '--no-turbo-inlining', '--always-turbofan', nodeFlags: ['--perf-basic-prof', '--no-turbo-inlining',
'--minimum-invocations-before-optimization=0'], '--minimum-invocations-before-optimization=0'],
matches: [ matches: [
String.raw`RegExp\.> src: 'test-regex' flags: 'gi'`, String.raw`RegExp\.> src: 'test-regex' flags: 'gi'`,
@ -81,7 +81,7 @@ const testCases = [
}, },
{ {
title: '--perf-basic-prof-only-functions compiled', title: '--perf-basic-prof-only-functions compiled',
nodeFlags: ['--perf-basic-prof-only-functions', '--no-turbo-inlining', '--always-turbofan', nodeFlags: ['--perf-basic-prof-only-functions', '--no-turbo-inlining',
'--minimum-invocations-before-optimization=0'], '--minimum-invocations-before-optimization=0'],
matches: [ matches: [
'JS:~functionOne .+/linux-perf-logger.js', 'JS:~functionOne .+/linux-perf-logger.js',

View file

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

View file

@ -1672,9 +1672,6 @@ def Main():
if options.check_deopts: if options.check_deopts:
options.node_args.append("--trace-opt") options.node_args.append("--trace-opt")
options.node_args.append("--trace-file-names") options.node_args.append("--trace-file-names")
# --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" options.progress = "deopts"
if options.error_reporter: if options.error_reporter: