| Index: test/mjsunit/compiler/inline-dead-jscreate.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-595657.js b/test/mjsunit/compiler/inline-dead-jscreate.js
|
| similarity index 59%
|
| copy from test/mjsunit/regress/regress-crbug-595657.js
|
| copy to test/mjsunit/compiler/inline-dead-jscreate.js
|
| index 653259781be24ec1acf1d5e2aa4f4de2f361d3ec..a9778758c44908f2a79288bd3439c97a0904f448 100644
|
| --- a/test/mjsunit/regress/regress-crbug-595657.js
|
| +++ b/test/mjsunit/compiler/inline-dead-jscreate.js
|
| @@ -2,14 +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
|
| -
|
| -function test() {
|
| - try {
|
| - test();
|
| - } catch(e) {
|
| - /(\2)(a)/.test("");
|
| - }
|
| +var bar = 0;
|
| +
|
| +function baz() { return this; }
|
| +
|
| +function foo() {
|
| + bar += 1;
|
| + if (bar === 2) throw new baz();
|
| }
|
|
|
| -test();
|
| +foo();
|
|
|