Index: test/mjsunit/regress/regress-v8-5697.js |
diff --git a/test/mjsunit/regress/regress-v8-5697.js b/test/mjsunit/regress/regress-v8-5697.js |
index ba812271b49ec2e08a807b11b629b52cb415ed5e..550bd98017986a6f0c64d6d9be78727f41be27c2 100644 |
--- a/test/mjsunit/regress/regress-v8-5697.js |
+++ b/test/mjsunit/regress/regress-v8-5697.js |
@@ -9,6 +9,7 @@ function load(o) { return o.x; } |
for (var x = 0; x < 1000; ++x) { |
load({x}); |
load({x}); |
+ %OptimizeFunctionOnNextCall(load); |
try { load(); } catch (e) { } |
} |
@@ -20,6 +21,7 @@ function store(o) { o.x = -1; } |
for (var x = 0; x < 1000; ++x) { |
store({x}); |
store({x}); |
+ %OptimizeFunctionOnNextCall(store); |
try { store(); } catch (e) { } |
} |