summaryrefslogtreecommitdiff
path: root/deps/v8/test/mjsunit/regress/regress-632289.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/v8/test/mjsunit/regress/regress-632289.js')
-rw-r--r--deps/v8/test/mjsunit/regress/regress-632289.js22
1 files changed, 22 insertions, 0 deletions
diff --git a/deps/v8/test/mjsunit/regress/regress-632289.js b/deps/v8/test/mjsunit/regress/regress-632289.js
new file mode 100644
index 0000000000..65a22558de
--- /dev/null
+++ b/deps/v8/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();
+})();