Index: test/mjsunit/limit-locals.js |
diff --git a/test/mjsunit/limit-locals.js b/test/mjsunit/limit-locals.js |
index a166f30617c21f307048b96feb8fa0038dd43f4d..1d36c80e5d643d5ee9c48543d185a64de3ec72ee 100644 |
--- a/test/mjsunit/limit-locals.js |
+++ b/test/mjsunit/limit-locals.js |
@@ -34,9 +34,9 @@ function function_with_n_locals(n) { |
test_suffix = " suffix"; |
var src = "test_prefix + (function () {" |
for (var i = 1; i <= n; i++) { |
- src += "var x" + i + ";"; |
+ src += "; var x" + i; |
} |
- src += "return " + n + ";})() + test_suffix"; |
+ src += "; return " + n + ";})() + test_suffix"; |
return eval(src); |
} |