Index: test/mjsunit/regress/regress-1118.js |
=================================================================== |
--- test/mjsunit/regress/regress-1118.js (revision 8141) |
+++ test/mjsunit/regress/regress-1118.js (working copy) |
@@ -55,6 +55,8 @@ |
while (%GetOptimizationStatus(h) == 2) { |
for (var j = 0; j < 100; j++) g(); |
} |
+ assertTrue(%GetOptimizationStatus(h) == 1 || |
+ %GetOptimizationStatus(h) == 3); |
g(); |
} |
} |