Index: test/mjsunit/regress/regress-2618.js |
diff --git a/test/mjsunit/regress/regress-2618.js b/test/mjsunit/regress/regress-2618.js |
index 638b71e6228b9f5c5fcfffeafcb0d72e606faf9b..99f05ca6170290eed9aaa69a84ba4ccef4b486a3 100644 |
--- a/test/mjsunit/regress/regress-2618.js |
+++ b/test/mjsunit/regress/regress-2618.js |
@@ -30,7 +30,7 @@ |
function f() { |
do { |
do { |
- for (i = 0; i < 10000000; i++) { |
+ for (var i = 0; i < 10000000; i++) { |
// This should run long enough to trigger OSR. |
} |
} while (false); |
@@ -46,7 +46,7 @@ function g() { |
do { |
do { |
- for (i = 0; i < 1; i++) { } |
+ for (var i = 0; i < 1; i++) { } |
} while (false); |
} while (false); |
@@ -58,7 +58,7 @@ function g() { |
do { |
do { |
do { |
- for (i = 0; i < 10000000; i++) { } |
+ for (var i = 0; i < 10000000; i++) { } |
} while (false); |
} while (false); |
} while (false); |