| Index: test/mjsunit/regress/regress-cr412210.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-387636.js b/test/mjsunit/regress/regress-cr412210.js
|
| similarity index 81%
|
| copy from test/mjsunit/regress/regress-crbug-387636.js
|
| copy to test/mjsunit/regress/regress-cr412210.js
|
| index 1e50ace45a293c8561042f1a09c8fcd505b43dc2..6ec7d62379c2dbc511da1c29d96216637e1fcae1 100644
|
| --- a/test/mjsunit/regress/regress-crbug-387636.js
|
| +++ b/test/mjsunit/regress/regress-cr412210.js
|
| @@ -4,11 +4,9 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -function f() {
|
| - [].indexOf(0x40000000);
|
| -}
|
| +function f(x) {
|
| + return (x ? "" >> 0 : "") + /a/;
|
| +};
|
|
|
| -f();
|
| -f();
|
| %OptimizeFunctionOnNextCall(f);
|
| f();
|
|
|