/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
- function testUndemotableBinaryOp() {
- var out = [];
- for (let j = 0; j < 5; ++j) { out.push(6 - ((void 0) ^ 0x80000005)); }
- return out.join(",");
- }
- assertEq(testUndemotableBinaryOp(), "2147483649,2147483649,2147483649,2147483649,2147483649");