| Index: test/mjsunit/regress/regress-489151.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-454091.js b/test/mjsunit/regress/regress-489151.js
|
| similarity index 68%
|
| copy from test/mjsunit/regress/regress-crbug-454091.js
|
| copy to test/mjsunit/regress/regress-489151.js
|
| index 2705e96bfd023f415cd5a7076017900cd251793c..25a655585befdaf7314a918437a32f43c2dc2a9e 100644
|
| --- a/test/mjsunit/regress/regress-crbug-454091.js
|
| +++ b/test/mjsunit/regress/regress-489151.js
|
| @@ -4,6 +4,9 @@
|
|
|
| this.__proto__ = Array.prototype;
|
| Object.freeze(this);
|
| -this.length = 1;
|
| -assertThrows('this.__proto__ = {}');
|
| -assertEquals(Array.prototype, this.__proto__);
|
| +function __f_0() {
|
| + for (var __v_0 = 0; __v_0 < 10; __v_0++) {
|
| + this.length = 1;
|
| + }
|
| +}
|
| + __f_0();
|
|
|