summaryrefslogtreecommitdiffstats
path: root/js/src/jit-test/tests/basic/testBranchCse.js
blob: 1c9965817151084a64df77a35c3ae92783bc29c6 (plain)
1
2
3
4
5
6
7
function testBranchCse() {
    empty = [];
    out = [];
    for (var j=0;j<10;++j) { empty[42]; out.push((1 * (1)) | ""); }
    return out.join(",");
}
assertEq(testBranchCse(), "1,1,1,1,1,1,1,1,1,1");