Index: test/mjsunit/regress/regress-crbug-495493.js |
diff --git a/test/message/syntactic-tail-call-in-for-in.js b/test/mjsunit/regress/regress-crbug-495493.js |
similarity index 53% |
copy from test/message/syntactic-tail-call-in-for-in.js |
copy to test/mjsunit/regress/regress-crbug-495493.js |
index 8ad7aca54a886b52920dcebfa6a458c0edf72f95..3dba236c3792abc6b406e06d0b4f0fee80abfd58 100644 |
--- a/test/message/syntactic-tail-call-in-for-in.js |
+++ b/test/mjsunit/regress/regress-crbug-495493.js |
@@ -2,15 +2,11 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --harmony-explicit-tailcalls |
-"use strict"; |
+// Flags: --nofold-constants --enable-slow-asserts --debug-code |
-function f() { |
- return 1; |
-} |
- |
-function g() { |
- for (var v in {a:0}) { |
- return continue f() ; |
+function foo(p) { |
+ for (var i = 0; i < 100000; ++i) { |
+ p = Math.min(-1, 0); |
} |
} |
+foo(0); |