summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/bug554651.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/jaeger/bug554651.js')
-rw-r--r--js/src/jit-test/tests/jaeger/bug554651.js15
1 files changed, 15 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/jaeger/bug554651.js b/js/src/jit-test/tests/jaeger/bug554651.js
new file mode 100644
index 0000000000..23be34d793
--- /dev/null
+++ b/js/src/jit-test/tests/jaeger/bug554651.js
@@ -0,0 +1,15 @@
+// |jit-test| error: InternalError
+(function() {
+ try {
+ (Function("this.__defineGetter__(\"x\",(Function(\"for(z=0;z<6;z++)(x)\")))"))()
+ } catch(e) {}
+})()
+((function f(d, aaaaaa) {
+ if (bbbbbb = aaaaaa) {
+ x
+ }
+ f(bbbbbb, aaaaaa + 1)
+})([], 0))
+
+/* Don't assert (32-bit mac only, relies on very specific stack usage). */
+