diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-crbug-272564.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-crbug-272564.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-272564.js b/deps/v8/test/mjsunit/regress/regress-crbug-272564.js index 5475298a88..1af856381e 100644 --- a/deps/v8/test/mjsunit/regress/regress-crbug-272564.js +++ b/deps/v8/test/mjsunit/regress/regress-crbug-272564.js @@ -33,14 +33,14 @@ function Bb(w) { function ce(a, b) { "number" == typeof a && (a = (b ? Math.round(a) : a) + "px"); - return a + return a; } function pe(a, b, c) { if (b instanceof Bb) b = b.width; a.width = ce(b, !0); -} - +}; +%PrepareFunctionForOptimization(pe); var a = new Bb(1); var b = new Bb(5); pe(a, b, 0); |