js/src/jit-test/tests/auto-regress/bug655950.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/bug655950.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +// Binary: cache/js-dbg-32-32e8c937a409-linux
     1.5 +// Flags: -m -n
     1.6 +//
     1.7 +function f() {
     1.8 +    try {
     1.9 +        (new {
    1.10 +            x: function() {}
    1.11 +        }.x)();
    1.12 +    } catch (e) {}
    1.13 +}
    1.14 +for (var i = 0; i<10000; i++) {
    1.15 +    f();
    1.16 +}

mercurial