| Index: test/mjsunit/regress/regress-opt-after-debug-deopt.js
|
| diff --git a/test/mjsunit/regress/regress-opt-after-debug-deopt.js b/test/mjsunit/regress/regress-opt-after-debug-deopt.js
|
| index be12cc56fde38ada0d00a9293e3a4dced3682486..3de0217c8152d311fb4c5f070dae4ca2733aafac 100644
|
| --- a/test/mjsunit/regress/regress-opt-after-debug-deopt.js
|
| +++ b/test/mjsunit/regress/regress-opt-after-debug-deopt.js
|
| @@ -26,7 +26,7 @@
|
| // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
|
|
| // Flags: --expose-debug-as debug --allow-natives-syntax
|
| -// Flags: --parallel-recompilation --parallel-recompilation-delay=300
|
| +// Flags: --parallel-recompilation --parallel-recompilation-delay=100
|
|
|
| if (!%IsParallelRecompilationSupported()) {
|
| print("Parallel recompilation is disabled. Skipping this test.");
|
| @@ -62,7 +62,8 @@ f(); // Kick off parallel recompilation.
|
|
|
| Debug.setListener(listener); // Activate debugger.
|
| Debug.setBreakPoint(f, 2, 0); // Force deopt.
|
| -%CompleteOptimization(f); // Install optimized code.
|
| +// Sync with parallel optimization thread. But no optimized code is installed.
|
| +assertUnoptimized(f, "sync");
|
|
|
| f(); // Trigger break point.
|
| assertEquals(1, listened);
|
|
|