| Index: test/mjsunit/es6/regress/regress-594084.js
|
| diff --git a/test/mjsunit/regress/regress-4659.js b/test/mjsunit/es6/regress/regress-594084.js
|
| similarity index 50%
|
| copy from test/mjsunit/regress/regress-4659.js
|
| copy to test/mjsunit/es6/regress/regress-594084.js
|
| index ff436bec1b07d6a708ddd0a0c454ada3c353985c..4953cc9bb61cef55aaee15a8b6caa739c3416827 100644
|
| --- a/test/mjsunit/regress/regress-4659.js
|
| +++ b/test/mjsunit/es6/regress/regress-594084.js
|
| @@ -2,11 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
| //
|
| -// Flags: --harmony-function-name
|
| -
|
| -var obj = {
|
| - get longerName(){
|
| - return 42;
|
| +// Flags: --lazy --min-preparse-length=0
|
| +(function() {
|
| + function CRASH(defaultParameter =
|
| + (function() { function functionDeclaration() { return 0; } }())) {
|
| }
|
| -};
|
| -assertEquals(42, obj.longerName);
|
| +})();
|
|
|