Index: test/mjsunit/regress/regress-350865.js |
diff --git a/test/mjsunit/regress/regress-347906.js b/test/mjsunit/regress/regress-350865.js |
similarity index 54% |
copy from test/mjsunit/regress/regress-347906.js |
copy to test/mjsunit/regress/regress-350865.js |
index c751618928c93015679087ee1b500637657aa341..74234db8842929a57d93a10cda0f62078f014845 100644 |
--- a/test/mjsunit/regress/regress-347906.js |
+++ b/test/mjsunit/regress/regress-350865.js |
@@ -2,13 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --allow-natives-syntax --harmony |
+// Flags: --stress-compaction --stack-size=150 |
-function foo() { |
- return Math.clz32(12.34); |
+/\2/.test("1"); |
+ |
+function rec() { |
+ try { |
+ rec(); |
+ } catch(e) { |
+ /\2/.test("1"); |
+ } |
} |
-foo(); |
-foo(); |
-%OptimizeFunctionOnNextCall(foo); |
-foo(); |
+rec(); |