diff options
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-5.js')
-rw-r--r-- | deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-5.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-5.js b/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-5.js index e74295c361..805e86dd30 100644 --- a/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-5.js +++ b/deps/v8/test/mjsunit/compiler/call-with-arraylike-or-spread-5.js @@ -45,8 +45,8 @@ assertTrue(log_got_interpreted); // Compile foo. - %OptimizeFunctionOnNextCall(log); - %OptimizeFunctionOnNextCall(foo); + %OptimizeFunctionForTopTier(log); + %OptimizeFunctionForTopTier(foo); assertEquals(42, foo()); // The call with spread should not have been inlined, because of the // generator/iterator. |