| Index: test/mjsunit/compiler/regress-468162.js
|
| diff --git a/test/mjsunit/regress/regress-crbug-455644.js b/test/mjsunit/compiler/regress-468162.js
|
| similarity index 57%
|
| copy from test/mjsunit/regress/regress-crbug-455644.js
|
| copy to test/mjsunit/compiler/regress-468162.js
|
| index 4993d857a89f620df2b0d1f9813a2a382a77bd8d..47bff032d584a37824d55dd1881e8a81a258b7e8 100644
|
| --- a/test/mjsunit/regress/regress-crbug-455644.js
|
| +++ b/test/mjsunit/compiler/regress-468162.js
|
| @@ -2,11 +2,10 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -(function f() {
|
| - do { return 23; } while(false);
|
| - with (0) {
|
| - try {
|
| - return 42;
|
| - } finally {}
|
| - }
|
| +var asm = (function() {
|
| + "use asm";
|
| + var max = Math.max;
|
| + return function f() { return max(0, -17); };
|
| })();
|
| +
|
| +assertEquals(0, asm());
|
|
|