diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-crbug-944865.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-crbug-944865.js | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-crbug-944865.js b/deps/v8/test/mjsunit/regress/regress-crbug-944865.js index 06c8919a5d..630563f0c9 100644 --- a/deps/v8/test/mjsunit/regress/regress-crbug-944865.js +++ b/deps/v8/test/mjsunit/regress/regress-crbug-944865.js @@ -6,9 +6,10 @@ function foo() { const r = {e: NaN, g: undefined, c: undefined}; - const u = {__proto__: {}, e: new Set(), g: 0, c: undefined}; + const u = {__proto__: {}, e: new Set(), g: 0, c: undefined}; return r; -} +}; +%PrepareFunctionForOptimization(foo); foo(); %OptimizeFunctionOnNextCall(foo); const o = foo(); |