Index: test/mjsunit/regress/regress-crbug-652186-local.js |
diff --git a/test/mjsunit/compiler/regress-463056.js b/test/mjsunit/regress/regress-crbug-652186-local.js |
similarity index 71% |
copy from test/mjsunit/compiler/regress-463056.js |
copy to test/mjsunit/regress/regress-crbug-652186-local.js |
index fb871618e42c9387d38a445522bfd01cfbbe9bfa..39f283432d09dc78a88c3fe805dee3f2d637a33c 100644 |
--- a/test/mjsunit/compiler/regress-463056.js |
+++ b/test/mjsunit/regress/regress-crbug-652186-local.js |
@@ -2,8 +2,10 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// Flags: --always-opt |
+ |
function f() { |
- return ((0%0)&1) + (1>>>(0%0)); |
+ var x = 1; |
+ return eval("eval('var x = 2'); x;"); |
} |
- |
f(); |