Index: test/mjsunit/regress/regress-crbug-546968.js |
diff --git a/test/mjsunit/regress/regress-crbug-501711.js b/test/mjsunit/regress/regress-crbug-546968.js |
similarity index 57% |
copy from test/mjsunit/regress/regress-crbug-501711.js |
copy to test/mjsunit/regress/regress-crbug-546968.js |
index b253e9c9122e6ef4a8cecb6a2f61e55ee7cbd84f..51f20c4204d735cdaf69a81e71b0392766e3b476 100644 |
--- a/test/mjsunit/regress/regress-crbug-501711.js |
+++ b/test/mjsunit/regress/regress-crbug-546968.js |
@@ -2,17 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --stack-size=100 |
+// Flags: --allow-natives-syntax --harmony-do-expressions |
function f() { |
- try { |
- f(); |
- } catch(e) { |
- try { |
- Realm.create(); |
- } catch (e) { |
- quit(); |
+ print( |
+ do { |
+ for (var i = 0; i < 10; i++) { if (i == 5) %OptimizeOsr(); } |
} |
- } |
+ ); |
} |
f(); |