summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/bug673812.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/recompile/bug673812.js')
-rw-r--r--js/src/jit-test/tests/jaeger/recompile/bug673812.js18
1 files changed, 18 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/recompile/bug673812.js b/js/src/jit-test/tests/jaeger/recompile/bug673812.js
new file mode 100644
index 000000000..cf16ba78b
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/recompile/bug673812.js
@@ -0,0 +1,18 @@
+gczeal(2);
+try {
+ DoWhile_3();
+} catch (e) {}
+function f() {
+ test();
+ yield 170;
+}
+function test() {
+ function foopy() {
+ try {
+ for (var i in f());
+ } catch (e) {}
+ }
+ foopy();
+ gc();
+}
+test();