aboutsummaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/es6/super-with-spread.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/es6/super-with-spread.js')
-rw-r--r--deps/v8/test/mjsunit/es6/super-with-spread.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/es6/super-with-spread.js b/deps/v8/test/mjsunit/es6/super-with-spread.js
index b0aea826d4..6fa73c04cd 100644
--- a/deps/v8/test/mjsunit/es6/super-with-spread.js
+++ b/deps/v8/test/mjsunit/es6/super-with-spread.js
@@ -15,6 +15,7 @@
}
function testBaselineAndOpt(func) {
+ %PrepareFunctionForOptimization(func);
func(1, 2);
func(1, 2);
%OptimizeFunctionOnNextCall(func);