| Index: test/mjsunit/regress/regress-crbug-629823.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-629435.js b/test/mjsunit/regress/regress-crbug-629823.js
|
| similarity index 68%
|
| copy from test/mjsunit/regress/regress-crbug-629435.js
|
| copy to test/mjsunit/regress/regress-crbug-629823.js
|
| index b73f601c71fcf9fac7a321da8648d056dbe1edd4..bbf74b80afd2fa52b020a03b19553c6d257d43ff 100644
|
| --- a/test/mjsunit/regress/regress-crbug-629435.js
|
| +++ b/test/mjsunit/regress/regress-crbug-629823.js
|
| @@ -4,16 +4,14 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -function bar(v) {
|
| - v.constructor;
|
| -}
|
| -
|
| -bar([]);
|
| -bar([]);
|
| -
|
| -function foo() {
|
| - var x = -0;
|
| - bar(x + 1);
|
| +var o = {}
|
| +function bar() {
|
| + o[0] = +o[0];
|
| + o = /\u23a1|__v_4/;
|
| }
|
| +bar();
|
| +bar();
|
| +bar();
|
| +function foo() { bar(); }
|
| %OptimizeFunctionOnNextCall(foo);
|
| foo();
|
|
|