Index: test/mjsunit/parallel-optimize-disabled.js |
diff --git a/test/mjsunit/parallel-optimize-disabled.js b/test/mjsunit/parallel-optimize-disabled.js |
index 86b375c53aef0c9118c7dbd57ad25f1dc593dda5..479684d40721d37124081a7d8f99e0be2696d6c3 100644 |
--- a/test/mjsunit/parallel-optimize-disabled.js |
+++ b/test/mjsunit/parallel-optimize-disabled.js |
@@ -43,4 +43,4 @@ f(); |
%OptimizeFunctionOnNextCall(g, "parallel"); |
f(0); // g() is disabled for optimization on inlining attempt. |
// Attempt to optimize g() should not run into any assertion. |
-%WaitUntilOptimized(g); |
+%CompleteOptimization(g); |