js/src/jit-test/tests/basic/testUndemotableBinaryOp.js

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/js/src/jit-test/tests/basic/testUndemotableBinaryOp.js	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,6 @@
     1.4 +function testUndemotableBinaryOp() {
     1.5 +    var out = [];
     1.6 +    for (let j = 0; j < 5; ++j) { out.push(6 - ((void 0) ^ 0x80000005)); }
     1.7 +    return out.join(",");
     1.8 +}
     1.9 +assertEq(testUndemotableBinaryOp(), "2147483649,2147483649,2147483649,2147483649,2147483649");

mercurial