js/src/jit-test/tests/auto-regress/bug662132.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/bug662132.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,14 @@
     1.4 +// Binary: cache/js-dbg-32-6d423e5f2e48-linux
     1.5 +// Flags: -m -n
     1.6 +//
     1.7 +gczeal()
     1.8 +let n = {}
     1.9 +let o = {}
    1.10 +for (let i = 0; i < 5; i++) {
    1.11 +    Array();
    1.12 +    for (let j = 0; j < 7; j++) {
    1.13 +        o.__defineSetter__("", function() {})
    1.14 +        o.p3 = 1
    1.15 +        delete o.p3
    1.16 +    }
    1.17 +}

mercurial