Index: test/mjsunit/regress/regress-491481.js |
diff --git a/test/mjsunit/regress/regress-449070.js b/test/mjsunit/regress/regress-491481.js |
similarity index 61% |
copy from test/mjsunit/regress/regress-449070.js |
copy to test/mjsunit/regress/regress-491481.js |
index 7a0f0a838cdd25817ab6a2d8f63c1ef9fbe6e526..196b6aeb79fdab0618164b58bb4c0e007056bccb 100644 |
--- a/test/mjsunit/regress/regress-449070.js |
+++ b/test/mjsunit/regress/regress-491481.js |
@@ -1,10 +1,15 @@ |
// Copyright 2015 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-natives-syntax |
try { |
- %NormalizeElements(this); |
-} catch(e) { |
-} |
+%OptimizeFunctionOnNextCall(print); |
+try { |
+ __f_16(); |
+} catch(e) { print(e); } |
+try { |
+ __f_10(); |
+} catch(e) {; } |
+} catch(e) {} |