summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-7.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-7.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-7.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-7.js b/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-7.js
index 147ba5bddb..96e50dd906 100644
--- a/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-7.js
+++ b/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-7.js
@@ -37,8 +37,8 @@
assertTrue(log_got_interpreted);
// Compile foo.
- %OptimizeFunctionOnNextCall(log);
- %OptimizeFunctionOnNextCall(foo);
+ %OptimizeFunctionForTopTier(log);
+ %OptimizeFunctionForTopTier(foo);
assertEquals(1, foo());
// The call with spread should have been inlined.
assertFalse(log_got_interpreted);
@@ -58,7 +58,7 @@
// Recompile 'foo'.
%PrepareFunctionForOptimization(foo);
- %OptimizeFunctionOnNextCall(foo);
+ %OptimizeFunctionForTopTier(foo);
assertEquals(42, foo());
// The call with spread will not be inlined because we have redefined the
// array iterator.