Index: test/mjsunit/regress/regress-632289.js |
diff --git a/test/mjsunit/regress/regress-632289.js b/test/mjsunit/regress/regress-632289.js |
new file mode 100644 |
index 0000000000000000000000000000000000000000..65a22558de9447f45c5b34c126da95593615dc36 |
--- /dev/null |
+++ b/test/mjsunit/regress/regress-632289.js |
@@ -0,0 +1,22 @@ |
+// Copyright 2016 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: --ignition --turbo-from-bytecode --always-opt --allow-natives-syntax |
+ |
+try { |
+} catch(e) {; } |
+(function __f_12() { |
+})(); |
+(function __f_6() { |
+ function __f_3() { |
+ } |
+ function __f_4() { |
+ try { |
+ } catch (e) { |
+ } |
+ } |
+ __f_4(); |
+ %OptimizeFunctionOnNextCall(__f_4); |
+ __f_4(); |
+})(); |