summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/compiler/regress-store-holey-double-array.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/compiler/regress-store-holey-double-array.js')
-rw-r--r--deps/v8/test/mjsunit/compiler/regress-store-holey-double-array.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/compiler/regress-store-holey-double-array.js b/deps/v8/test/mjsunit/compiler/regress-store-holey-double-array.js
index 81231984e0..2daca73bbf 100644
--- a/deps/v8/test/mjsunit/compiler/regress-store-holey-double-array.js
+++ b/deps/v8/test/mjsunit/compiler/regress-store-holey-double-array.js
@@ -19,6 +19,7 @@
var a = [,0.1];
+ %PrepareFunctionForOptimization(g);
g(f64, a, 1);
g(f64, a, 1);
%OptimizeFunctionOnNextCall(g);
@@ -35,6 +36,8 @@
}
var a=[,0.1];
+
+ %PrepareFunctionForOptimization(g);
g(a, 1);
g(a, 1);
%OptimizeFunctionOnNextCall(g);