js/src/jit-test/tests/auto-regress/bug688974.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/auto-regress/bug688974.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +// Binary: cache/js-dbg-64-fecae145d884-linux
     1.5 +// Flags: -m -n
     1.6 +//
     1.7 +
     1.8 +gczeal(2);
     1.9 +Object.defineProperty(Object.prototype, "b", {set: function() {}});
    1.10 +function C(a, b) {
    1.11 +    this.a=a;
    1.12 +    this.b=b;
    1.13 +}
    1.14 +var f = C.bind(0x2004, 2);
    1.15 +for (var i=0; i<10000; ++i)
    1.16 +    new f;

mercurial