| Index: test/mjsunit/compiler/regress-dead-throw-inlining.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-577112.js b/test/mjsunit/compiler/regress-dead-throw-inlining.js
|
| similarity index 68%
|
| copy from test/mjsunit/regress/regress-crbug-577112.js
|
| copy to test/mjsunit/compiler/regress-dead-throw-inlining.js
|
| index 504f921a335801a51fd1c0c1a39a8b08e8872722..097a20bc41d34760931928c45e4117888295f20a 100644
|
| --- a/test/mjsunit/regress/regress-crbug-577112.js
|
| +++ b/test/mjsunit/compiler/regress-dead-throw-inlining.js
|
| @@ -4,11 +4,9 @@
|
|
|
| // Flags: --allow-natives-syntax
|
|
|
| -Array.prototype.__proto__ = null;
|
| -var prototype = Array.prototype;
|
| -function f() {
|
| - prototype.lastIndexOf({});
|
| -}
|
| +function g() { if (false) throw 0; }
|
| +function f() { g(); }
|
| +
|
| f();
|
| f();
|
| %OptimizeFunctionOnNextCall(f);
|
|
|