PageRenderTime 12ms CodeModel.GetById 10ms app.highlight 0ms RepoModel.GetById 2ms app.codeStats 0ms

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

http://github.com/zpao/v8monkey
JavaScript | 6 lines | 6 code | 0 blank | 0 comment | 1 complexity | 94cc533ec2574f91e3d87822c41635a9 MD5 | raw file
1function testUndemotableBinaryOp() {
2    var out = [];
3    for (let j = 0; j < 5; ++j) { out.push(6 - ((void 0) ^ 0x80000005)); }
4    return out.join(",");
5}
6assertEq(testUndemotableBinaryOp(), "2147483649,2147483649,2147483649,2147483649,2147483649");