summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/jaeger/recompile/bug648567.js
blob: 5b7df219d950abecab889b56837a095c93da1137 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
var arr = [-10, true];
true || arr[0];

function g() {
    var x = arr[12];
    var y = arr.length;
    arr[undefined] = x;
    assertEq(y, 2);
}
{
    function f() {
        gc();
        g();        
    }
    f();
}