summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/recover-typed-array.js
blob: 9a48a2018a9ccb5b1231364a9b4bc08cfc6a6156 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
function f () {
    var x = new Uint8Array(4);
    empty();
    assertRecoveredOnBailout(x, true);
    var res = inIon();
    bailout();
    return res;
}

function empty() {
}

while(!f());