Skip to content

Commit 58fba13

Browse files
targosnodejs-github-bot
authored andcommitted
test: remove --always-turbofan flag
It was removed from V8. Refs: v8/v8@7779ff0
1 parent bb66023 commit 58fba13

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

test/v8-updates/test-linux-perf-logger.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ const testCases = [
5555
},
5656
{
5757
title: '--perf-basic-prof compiled',
58-
nodeFlags: ['--perf-basic-prof', '--no-turbo-inlining', '--always-turbofan',
58+
nodeFlags: ['--perf-basic-prof', '--no-turbo-inlining',
5959
'--minimum-invocations-before-optimization=0'],
6060
matches: [
6161
String.raw`RegExp\.> src: 'test-regex' flags: 'gi'`,
@@ -81,7 +81,7 @@ const testCases = [
8181
},
8282
{
8383
title: '--perf-basic-prof-only-functions compiled',
84-
nodeFlags: ['--perf-basic-prof-only-functions', '--no-turbo-inlining', '--always-turbofan',
84+
nodeFlags: ['--perf-basic-prof-only-functions', '--no-turbo-inlining',
8585
'--minimum-invocations-before-optimization=0'],
8686
matches: [
8787
'JS:~functionOne .+/linux-perf-logger.js',

test/v8-updates/test-linux-perf.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,6 @@ const perfCompiledFramesArgs = [
6161
'--',
6262
process.execPath,
6363
...nodeCommonFlags,
64-
'--always-turbofan',
6564
fixtures.path('linux-perf.js'),
6665
`${sleepTime}`,
6766
`${repeat}`,

tools/test.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1672,9 +1672,6 @@ def Main():
16721672
if options.check_deopts:
16731673
options.node_args.append("--trace-opt")
16741674
options.node_args.append("--trace-file-names")
1675-
# --always-turbofan is needed because many tests do not run long enough for
1676-
# the optimizer to kick in, so this flag will force it to run.
1677-
options.node_args.append("--always-turbofan")
16781675
options.progress = "deopts"
16791676

16801677
if options.error_reporter:

0 commit comments

Comments
 (0)