| Index: test/mjsunit/regress/regress-412162.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-387636.js b/test/mjsunit/regress/regress-412162.js
|
| similarity index 65%
|
| copy from test/mjsunit/regress/regress-crbug-387636.js
|
| copy to test/mjsunit/regress/regress-412162.js
|
| index 1e50ace45a293c8561042f1a09c8fcd505b43dc2..6a7ad0c57fce5cd7b95062bafdccbc34e1dcdfab 100644
|
| --- a/test/mjsunit/regress/regress-crbug-387636.js
|
| +++ b/test/mjsunit/regress/regress-412162.js
|
| @@ -4,11 +4,11 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -function f() {
|
| - [].indexOf(0x40000000);
|
| +function test() {
|
| + Math.abs(-NaN).toString();
|
| }
|
|
|
| -f();
|
| -f();
|
| -%OptimizeFunctionOnNextCall(f);
|
| -f();
|
| +test();
|
| +test();
|
| +%OptimizeFunctionOnNextCall(test);
|
| +test();
|
|
|