diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-crbug-577112.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-crbug-577112.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-577112.js b/deps/v8/test/mjsunit/regress/regress-crbug-577112.js index 504f921a33..0e8d20f5bf 100644 --- a/deps/v8/test/mjsunit/regress/regress-crbug-577112.js +++ b/deps/v8/test/mjsunit/regress/regress-crbug-577112.js @@ -8,7 +8,8 @@ Array.prototype.__proto__ = null; var prototype = Array.prototype; function f() { prototype.lastIndexOf({}); -} +}; +%PrepareFunctionForOptimization(f); f(); f(); %OptimizeFunctionOnNextCall(f); |