js/src/jit-test/tests/ion/bug799185-6.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/ion/bug799185-6.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,19 @@
     1.4 +function f(a, b, c) {
     1.5 +    while (a) {
     1.6 +        let x;
     1.7 +        if (b) {
     1.8 +            if (c) {
     1.9 +                d();
    1.10 +                break;  // hidden LEAVEBLOCK, then GOTO
    1.11 +            }
    1.12 +            break; // another hidden LEAVEBLOCK, then GOTO
    1.13 +        }
    1.14 +    }
    1.15 +    null.x;
    1.16 +}
    1.17 +
    1.18 +try {
    1.19 +    f();
    1.20 +} catch (x) {
    1.21 +    ;
    1.22 +}

mercurial