summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug1129977.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jit-test/tests/ion/bug1129977.js')
-rw-r--r--js/src/jit-test/tests/ion/bug1129977.js10
1 files changed, 10 insertions, 0 deletions
diff --git a/js/src/jit-test/tests/ion/bug1129977.js b/js/src/jit-test/tests/ion/bug1129977.js
new file mode 100644
index 0000000000..b82fe7961f
--- /dev/null
+++ b/js/src/jit-test/tests/ion/bug1129977.js
@@ -0,0 +1,10 @@
+gczeal(11);
+function C(a, b) {
+ this.b=b;
+}
+evaluate('\
+Object.defineProperty(Object.prototype, "b", {set: function() {}});\
+var f = C.bind(0x2004, 2);\
+');
+for (var i=1; i<5000; ++i)
+ new f;