diff options
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-4388.js')
-rw-r--r-- | deps/v8/test/mjsunit/regress/regress-4388.js | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-4388.js b/deps/v8/test/mjsunit/regress/regress-4388.js index 908bcccb4e..a0853f205b 100644 --- a/deps/v8/test/mjsunit/regress/regress-4388.js +++ b/deps/v8/test/mjsunit/regress/regress-4388.js @@ -14,6 +14,7 @@ function test_hole_check_for_let(a) { } } } +%PrepareFunctionForOptimization(test_hole_check_for_let); assertDoesNotThrow("test_hole_check_for_let(0)"); assertThrows("test_hole_check_for_let(1)", ReferenceError); %OptimizeFunctionOnNextCall(test_hole_check_for_let) @@ -29,6 +30,7 @@ function test_hole_check_for_const(a) { } } } +%PrepareFunctionForOptimization(test_hole_check_for_const); assertThrows("test_hole_check_for_const(0)", TypeError); assertThrows("test_hole_check_for_const(1)", ReferenceError); %OptimizeFunctionOnNextCall(test_hole_check_for_const) |