| Index: test/mjsunit/regress/regress-crbug-630923.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-629435.js b/test/mjsunit/regress/regress-crbug-630923.js
|
| similarity index 76%
|
| copy from test/mjsunit/regress/regress-crbug-629435.js
|
| copy to test/mjsunit/regress/regress-crbug-630923.js
|
| index b73f601c71fcf9fac7a321da8648d056dbe1edd4..ff0d2dd05efbedec15a515545eac2184c36c59f3 100644
|
| --- a/test/mjsunit/regress/regress-crbug-629435.js
|
| +++ b/test/mjsunit/regress/regress-crbug-630923.js
|
| @@ -4,16 +4,13 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -function bar(v) {
|
| - v.constructor;
|
| +var o = {};
|
| +function bar(o) {
|
| + return 1 + (o.t ? 1 : 2);
|
| }
|
| -
|
| -bar([]);
|
| -bar([]);
|
| -
|
| function foo() {
|
| - var x = -0;
|
| - bar(x + 1);
|
| + bar(o);
|
| }
|
| +foo();
|
| %OptimizeFunctionOnNextCall(foo);
|
| foo();
|
|
|