Index: test/mjsunit/parallel-optimize-disabled.js |
diff --git a/test/mjsunit/parallel-optimize-disabled.js b/test/mjsunit/parallel-optimize-disabled.js |
index b56303e08f4f14aec362764becec0f5b75d7cbb6..e19dbd095bbb9bdcca746b28cf74836df917a669 100644 |
--- a/test/mjsunit/parallel-optimize-disabled.js |
+++ b/test/mjsunit/parallel-optimize-disabled.js |
@@ -48,4 +48,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. |
-%CompleteOptimization(g); |
+assertUnoptimized(g, "sync"); |