diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-crbug-656275.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-crbug-656275.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-656275.js b/deps/v8/test/mjsunit/regress/regress-crbug-656275.js index 74b29c1458..dafcb2a5b6 100644 --- a/deps/v8/test/mjsunit/regress/regress-crbug-656275.js +++ b/deps/v8/test/mjsunit/regress/regress-crbug-656275.js @@ -6,8 +6,10 @@ var a = 1; -function foo(x) { a = Math.fround(x + 1); } - +function foo(x) { + a = Math.fround(x + 1); +}; +%PrepareFunctionForOptimization(foo); foo(1); foo(1); %OptimizeFunctionOnNextCall(foo); |