| Index: test/mjsunit/regress/regress-crbug-602595.js
|
| diff --git a/test/mjsunit/compiler/regress-dead-throw-inlining.js b/test/mjsunit/regress/regress-crbug-602595.js
|
| similarity index 54%
|
| copy from test/mjsunit/compiler/regress-dead-throw-inlining.js
|
| copy to test/mjsunit/regress/regress-crbug-602595.js
|
| index 097a20bc41d34760931928c45e4117888295f20a..840a3b73c7f3adbe81d63e9e56c6af258c0bb1aa 100644
|
| --- a/test/mjsunit/compiler/regress-dead-throw-inlining.js
|
| +++ b/test/mjsunit/regress/regress-crbug-602595.js
|
| @@ -2,12 +2,11 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -// Flags: --allow-natives-syntax
|
| +// Flags: --allow-natives-syntax --experimental-turbo-escape
|
|
|
| -function g() { if (false) throw 0; }
|
| -function f() { g(); }
|
| +function f(a) { return [a] }
|
|
|
| -f();
|
| -f();
|
| +assertEquals([23], f(23));
|
| +assertEquals([42], f(42));
|
| %OptimizeFunctionOnNextCall(f);
|
| -f();
|
| +assertEquals([65], f(65));
|
|
|