summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/bug649769.js
blob: 28c823b422748462fabe17a26da4c5ffa0640651 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
function g(x) {
    if (!x) {
        throw 1;
    }
}

function f(a, b, c, d) {
    var x = [].push(3);
    g(true);
    assertEq(x, 1);
}
f(1.2, 2, 3, 4);
gc();
f(1, 2, 3, 4);