Index: test/mjsunit/regress/regress-416416.js |
diff --git a/test/mjsunit/regress/regress-347906.js b/test/mjsunit/regress/regress-416416.js |
similarity index 66% |
copy from test/mjsunit/regress/regress-347906.js |
copy to test/mjsunit/regress/regress-416416.js |
index c751618928c93015679087ee1b500637657aa341..66e882e0fc348da422406c5ecf35ef454428455a 100644 |
--- a/test/mjsunit/regress/regress-347906.js |
+++ b/test/mjsunit/regress/regress-416416.js |
@@ -2,13 +2,13 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-// Flags: --allow-natives-syntax --harmony |
- |
function foo() { |
- return Math.clz32(12.34); |
+ try { |
+ String.prototype.length.x(); |
+ } catch (e) { |
+ } |
} |
foo(); |
foo(); |
-%OptimizeFunctionOnNextCall(foo); |
foo(); |