@@ -42,7 +42,7 @@ tmpdir.refresh();
42
42
const testCases = [
43
43
{
44
44
title : '--perf-basic-prof interpreted' ,
45
- nodeFlags : [ '--perf-basic-prof' , '--no-turbo-inlining' , '--no-opt' ] ,
45
+ nodeFlags : [ '--allow-natives-syntax' , '-- perf-basic-prof', '--no-turbo-inlining' , '--no-opt' ] ,
46
46
matches : [
47
47
'JS:~functionOne .+/linux-perf-logger.js' ,
48
48
'JS:~functionTwo .+/linux-perf-logger.js' ,
@@ -55,8 +55,7 @@ const testCases = [
55
55
} ,
56
56
{
57
57
title : '--perf-basic-prof compiled' ,
58
- nodeFlags : [ '--perf-basic-prof' , '--no-turbo-inlining' , '--always-turbofan' ,
59
- '--minimum-invocations-before-optimization=0' ] ,
58
+ nodeFlags : [ '--allow-natives-syntax' , '--perf-basic-prof' , '--no-turbo-inlining' ] ,
60
59
matches : [
61
60
String . raw `RegExp\.> src: 'test-regex' flags: 'gi'` ,
62
61
'JS:~functionOne .+/linux-perf-logger.js' ,
@@ -68,7 +67,7 @@ const testCases = [
68
67
} ,
69
68
{
70
69
title : '--perf-basic-prof-only-functions interpreted' ,
71
- nodeFlags : [ '--perf-basic-prof-only-functions' , '--no-turbo-inlining' , '--no-opt' ] ,
70
+ nodeFlags : [ '--allow-natives-syntax' , '-- perf-basic-prof-only-functions', '--no-turbo-inlining' , '--no-opt' ] ,
72
71
matches : [
73
72
'JS:~functionOne .+/linux-perf-logger.js' ,
74
73
'JS:~functionTwo .+/linux-perf-logger.js' ,
@@ -81,8 +80,7 @@ const testCases = [
81
80
} ,
82
81
{
83
82
title : '--perf-basic-prof-only-functions compiled' ,
84
- nodeFlags : [ '--perf-basic-prof-only-functions' , '--no-turbo-inlining' , '--always-turbofan' ,
85
- '--minimum-invocations-before-optimization=0' ] ,
83
+ nodeFlags : [ '--allow-natives-syntax' , '--perf-basic-prof-only-functions' , '--no-turbo-inlining' ] ,
86
84
matches : [
87
85
'JS:~functionOne .+/linux-perf-logger.js' ,
88
86
'JS:~functionTwo .+/linux-perf-logger.js' ,
0 commit comments