diff options
Diffstat (limited to 'deps/v8/test/debugger/regress')
-rw-r--r-- | deps/v8/test/debugger/regress/regress-5901-1.js | 1 | ||||
-rw-r--r-- | deps/v8/test/debugger/regress/regress-5901-2.js | 1 | ||||
-rw-r--r-- | deps/v8/test/debugger/regress/regress-5950.js | 1 | ||||
-rw-r--r-- | deps/v8/test/debugger/regress/regress-6526.js | 3 | ||||
-rw-r--r-- | deps/v8/test/debugger/regress/regress-7421.js | 6 | ||||
-rw-r--r-- | deps/v8/test/debugger/regress/regress-crbug-736758.js | 1 |
6 files changed, 11 insertions, 2 deletions
diff --git a/deps/v8/test/debugger/regress/regress-5901-1.js b/deps/v8/test/debugger/regress/regress-5901-1.js index 0edffe7965..1902767b79 100644 --- a/deps/v8/test/debugger/regress/regress-5901-1.js +++ b/deps/v8/test/debugger/regress/regress-5901-1.js @@ -18,6 +18,7 @@ function h() { return g(); } +%PrepareFunctionForOptimization(h); h(); h(); diff --git a/deps/v8/test/debugger/regress/regress-5901-2.js b/deps/v8/test/debugger/regress/regress-5901-2.js index cf6f0efd60..1614ac94d7 100644 --- a/deps/v8/test/debugger/regress/regress-5901-2.js +++ b/deps/v8/test/debugger/regress/regress-5901-2.js @@ -15,6 +15,7 @@ function h() { return g(); } +%PrepareFunctionForOptimization(h); h(); h(); diff --git a/deps/v8/test/debugger/regress/regress-5950.js b/deps/v8/test/debugger/regress/regress-5950.js index 9f0ea5bc90..8f0d03c258 100644 --- a/deps/v8/test/debugger/regress/regress-5950.js +++ b/deps/v8/test/debugger/regress/regress-5950.js @@ -15,6 +15,7 @@ function h() { return g(); } +%PrepareFunctionForOptimization(h); h(); h(); diff --git a/deps/v8/test/debugger/regress/regress-6526.js b/deps/v8/test/debugger/regress/regress-6526.js index 90df244b3c..80a82b2b4f 100644 --- a/deps/v8/test/debugger/regress/regress-6526.js +++ b/deps/v8/test/debugger/regress/regress-6526.js @@ -16,8 +16,9 @@ var f = function() { } catch (e) { } }); -} +}; +%PrepareFunctionForOptimization(f); f(); f(); %OptimizeFunctionOnNextCall(f); diff --git a/deps/v8/test/debugger/regress/regress-7421.js b/deps/v8/test/debugger/regress/regress-7421.js index e82cc8a6db..cb1e612d8b 100644 --- a/deps/v8/test/debugger/regress/regress-7421.js +++ b/deps/v8/test/debugger/regress/regress-7421.js @@ -23,6 +23,7 @@ function wrapper1() { } f1(); } +%PrepareFunctionForOptimization(wrapper1); function f2() { counter++; @@ -47,14 +48,17 @@ function listener(event, exec_state, event_data, data) { wrapper1(); fail("wrapper1()"); + %PrepareFunctionForOptimization(wrapper2); wrapper2(true); wrapper2(false); wrapper2(true); %OptimizeFunctionOnNextCall(wrapper2); wrapper2(false); fail("wrapper2(true)"); - fail("%OptimizeFunctionOnNextCall(wrapper2); wrapper2(true)"); + fail("%PrepareFunctionForOptimization(wrapper2); "+ + "%OptimizeFunctionOnNextCall(wrapper2); wrapper2(true)"); + %PrepareFunctionForOptimization(wrapper2); %OptimizeFunctionOnNextCall(wrapper2, "concurrent"); wrapper2(false); fail("%UnblockConcurrentRecompilation();" + diff --git a/deps/v8/test/debugger/regress/regress-crbug-736758.js b/deps/v8/test/debugger/regress/regress-crbug-736758.js index d483af25b2..551b0d7413 100644 --- a/deps/v8/test/debugger/regress/regress-crbug-736758.js +++ b/deps/v8/test/debugger/regress/regress-crbug-736758.js @@ -8,6 +8,7 @@ function listener() {} function f() { [1,2,3].forEach(g) } function g() { debugger } +%PrepareFunctionForOptimization(f); f(); f(); Debug.setListener(listener); |