summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-crbug-819086.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-crbug-819086.js')
-rw-r--r--deps/v8/test/mjsunit/regress/regress-crbug-819086.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-819086.js b/deps/v8/test/mjsunit/regress/regress-crbug-819086.js
index 85f76a1fb5..edc13ec63c 100644
--- a/deps/v8/test/mjsunit/regress/regress-crbug-819086.js
+++ b/deps/v8/test/mjsunit/regress/regress-crbug-819086.js
@@ -6,8 +6,8 @@
function foo() {
return [...[, -Infinity]];
-}
-
+};
+%PrepareFunctionForOptimization(foo);
foo()[0];
foo()[0];
%OptimizeFunctionOnNextCall(foo);