js/src/jit-test/tests/jaeger/recompile/bug673812.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/jaeger/recompile/bug673812.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +gczeal(2);
     1.5 +try {
     1.6 +    DoWhile_3();
     1.7 +} catch (e) {}
     1.8 +function f() {
     1.9 +    test();
    1.10 +    yield 170;
    1.11 +}
    1.12 +function test() {
    1.13 +    function foopy() {
    1.14 +        try {
    1.15 +            for (var i in f());
    1.16 +        } catch (e) {}
    1.17 +    }
    1.18 +    foopy();
    1.19 +    gc();
    1.20 +}
    1.21 +test();

mercurial