Index: test/mjsunit/regress/regress-crbug-382513.js |
diff --git a/test/mjsunit/regress/regress-347906.js b/test/mjsunit/regress/regress-crbug-382513.js |
similarity index 70% |
copy from test/mjsunit/regress/regress-347906.js |
copy to test/mjsunit/regress/regress-crbug-382513.js |
index c751618928c93015679087ee1b500637657aa341..be8733c5e411e4b1ce2670a3317463c801b1aaa8 100644 |
--- a/test/mjsunit/regress/regress-347906.js |
+++ b/test/mjsunit/regress/regress-crbug-382513.js |
@@ -1,13 +1,10 @@ |
// Copyright 2014 the V8 project authors. All rights reserved. |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+// |
+// Flags: --allow-native-syntax |
-// Flags: --allow-natives-syntax --harmony |
- |
-function foo() { |
- return Math.clz32(12.34); |
-} |
- |
+function foo() { return [+0,false].indexOf(-(4/3)); } |
foo(); |
foo(); |
%OptimizeFunctionOnNextCall(foo); |