| Index: test/mjsunit/regress/regress-455207.js
|
| diff --git a/test/mjsunit/regress/regress-463028.js b/test/mjsunit/regress/regress-455207.js
|
| similarity index 51%
|
| copy from test/mjsunit/regress/regress-463028.js
|
| copy to test/mjsunit/regress/regress-455207.js
|
| index 1454ef1aea9a4ba296f99ce0531821e3ccd85aa5..88fec4a3b9718625fc6a1523cf548ca29081ca84 100644
|
| --- a/test/mjsunit/regress/regress-463028.js
|
| +++ b/test/mjsunit/regress/regress-455207.js
|
| @@ -2,17 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --allow-natives-syntax
|
| -
|
| -var o = {}
|
| -Object.defineProperty(o, "z", {
|
| - set: function() {
|
| - %DeoptimizeFunction(f);
|
| - },
|
| -});
|
| -
|
| -function f(o) {
|
| - return 19 + (void(o.z = 12));
|
| +"use strict";
|
| +var s = "";
|
| +for (var i = 16; i < 1085; i++) {
|
| + s += ("var a" + i + " = " + i + ";");
|
| }
|
| -
|
| -f(o);
|
| +s += "const x = 10;" +
|
| + "assertEquals(10, x); x = 11; assertEquals(11, x)";
|
| +assertThrows(function() { eval(s); });
|
|
|