summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/ion/bug844059.js
blob: d4bbe5c664145836345c19fcc77675e84657e5bf (plain)
1
2
3
4
5
6
7
8
9
10
11
12

function assertArraysFirstEqual(a, b) {
    assertEq(a[0], b[0]);
}

function check(b) {
    var a = deserialize(serialize(b));
    assertArraysFirstEqual(a, b);
}

check(new Int8Array(1));
check(new Float64Array(1));