Index: test/mjsunit/regress/regress-2618.js |
diff --git a/test/mjsunit/regress/regress-2618.js b/test/mjsunit/regress/regress-2618.js |
index 363557bff830f4532950eac559b5c0550245a5b4..b3cfffd92c0f203e15d6c680837a0b609a3ce0b1 100644 |
--- a/test/mjsunit/regress/regress-2618.js |
+++ b/test/mjsunit/regress/regress-2618.js |
@@ -30,9 +30,7 @@ |
function f() { |
do { |
do { |
- for (var i = 0; i < 10000000; i++) { |
- // This should run long enough to trigger OSR. |
- } |
+ for (var i = 0; i < 10; i++) %OptimizeOsr(); |
} while (false); |
} while (false); |
} |
@@ -57,7 +55,7 @@ function g() { |
do { |
do { |
do { |
- for (var i = 0; i < 10000000; i++) { } |
+ for (var i = 0; i < 10; i++) %OptimizeOsr(); |
} while (false); |
} while (false); |
} while (false); |