Index: test/mjsunit/parallel-optimize-disabled.js |
diff --git a/test/mjsunit/parallel-optimize-disabled.js b/test/mjsunit/parallel-optimize-disabled.js |
index 2487964bd99a5497c9166c52fe8de4862ac55ba9..86b375c53aef0c9118c7dbd57ad25f1dc593dda5 100644 |
--- a/test/mjsunit/parallel-optimize-disabled.js |
+++ b/test/mjsunit/parallel-optimize-disabled.js |
@@ -39,8 +39,8 @@ function f(x) { |
f(); |
f(); |
-%OptimizeFunctionOnNextCall(g, "parallel"); |
%OptimizeFunctionOnNextCall(f); |
+%OptimizeFunctionOnNextCall(g, "parallel"); |
f(0); // g() is disabled for optimization on inlining attempt. |
-g(); // Attempt to optimize g() should not run into any assertion. |
- |
+// Attempt to optimize g() should not run into any assertion. |
+%WaitUntilOptimized(g); |