| Index: test/mjsunit/regress/regress-crbug-595657.js
|
| diff --git a/test/mjsunit/call-intrinsic-type-error.js b/test/mjsunit/regress/regress-crbug-595657.js
|
| similarity index 59%
|
| copy from test/mjsunit/call-intrinsic-type-error.js
|
| copy to test/mjsunit/regress/regress-crbug-595657.js
|
| index 9d586977d924829f664a34c915440b5c8498dd63..653259781be24ec1acf1d5e2aa4f4de2f361d3ec 100644
|
| --- a/test/mjsunit/call-intrinsic-type-error.js
|
| +++ b/test/mjsunit/regress/regress-crbug-595657.js
|
| @@ -2,10 +2,14 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --allow-natives-syntax
|
| +// Flags: --stack-size=100
|
|
|
| -try {
|
| - %Call(1, 0);
|
| -} catch (e) {
|
| - assertTrue(e instanceof TypeError);
|
| +function test() {
|
| + try {
|
| + test();
|
| + } catch(e) {
|
| + /(\2)(a)/.test("");
|
| + }
|
| }
|
| +
|
| +test();
|
|
|