Index: test/mjsunit/regress/regress-1118.js |
diff --git a/test/mjsunit/regress/regress-1118.js b/test/mjsunit/regress/regress-1118.js |
index 3e3920f3dcc090ba4a702a78e442b6348c6d91f5..4d2796377973ea61a8176342d9d840a0627f8914 100644 |
--- a/test/mjsunit/regress/regress-1118.js |
+++ b/test/mjsunit/regress/regress-1118.js |
@@ -25,7 +25,7 @@ |
// (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
// OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
-// Flags: --allow-natives-syntax --noparallel-recompilation |
+// Flags: --allow-natives-syntax |
// An exception thrown in a function optimized by on-stack replacement (OSR) |
// should be able to construct a receiver from all optimized stack frames. |
@@ -52,7 +52,7 @@ function h() { |
g(); |
} else { |
// Run for a bit as long as h is unoptimized. |
- while (%GetOptimizationStatus(h) == 2) { |
+ while (%GetOptimizationStatus(h, "no sync") == 2) { |
for (var j = 0; j < 100; j++) g(); |
} |
g(); |