js/src/jit-test/tests/auto-regress/bug637010.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/bug637010.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,13 @@
     1.4 +// Binary: cache/js-dbg-64-d708c2fa7fea-linux
     1.5 +// Flags:
     1.6 +//
     1.7 +var o0 = Iterator.prototype;
     1.8 +function f0(o) {}
     1.9 +try {
    1.10 +  for(var i=0; i<7; i++) {
    1.11 +    try { o0.prototype(); } catch(e) {
    1.12 +      if (o0.next() != 7)
    1.13 +        throw "7 not yielded";
    1.14 +    };
    1.15 +  }
    1.16 +} catch(exc1) {}

mercurial