Searched refs:SMI_MAX (Results 1 – 5 of 5) sorted by relevance
/external/v8/test/mjsunit/ |
D | int32-ops.js | 32 const SMI_MAX = (1 << 30) - 1 + (1 << 30); // Create without overflowing. constant 33 const SMI_MIN = -SMI_MAX - 1; // Create without overflowing. 63 assertEquals(SMI_MAX + ONE, Add1(SMI_MAX), "smimax + 1"); 64 assertEquals(SMI_MAX + ONE, Add1Reversed(SMI_MAX), "1 + smimax"); 70 assertEquals(SMI_MAX + ONE_HUNDRED, Add100(SMI_MAX), "smimax + 100"); 71 assertEquals(SMI_MAX + ONE_HUNDRED, Add100Reversed(SMI_MAX), " 100 + smimax"); 209 v = SMI_MAX; 213 v = SMI_MAX; 226 assertTrue(-1 < SMI_MAX); 227 assertFalse(SMI_MAX < -1);
|
D | smi-ops.js | 28 const SMI_MAX = (1 << 29) - 1 + (1 << 29); // Create without overflowing. constant 29 const SMI_MIN = -SMI_MAX - 1; // Create without overflowing. 59 assertEquals(SMI_MAX + ONE, Add1(SMI_MAX), "smimax + 1"); 60 assertEquals(SMI_MAX + ONE, Add1Reversed(SMI_MAX), "1 + smimax"); 66 assertEquals(SMI_MAX + ONE_HUNDRED, Add100(SMI_MAX), "smimax + 100"); 67 assertEquals(SMI_MAX + ONE_HUNDRED, Add100Reversed(SMI_MAX), " 100 + smimax"); 205 v = SMI_MAX; 209 v = SMI_MAX; 222 assertTrue(-1 < SMI_MAX); 223 assertFalse(SMI_MAX < -1);
|
D | smi-ops-inlined.js | 30 const SMI_MAX = (1 << 30) - 1; constant 61 assertEquals(SMI_MAX + ONE, Add1(SMI_MAX), "smimax + 1"); 62 assertEquals(SMI_MAX + ONE, Add1Reversed(SMI_MAX), "1 + smimax"); 68 assertEquals(SMI_MAX + ONE_HUNDRED, Add100(SMI_MAX), "smimax + 100"); 69 assertEquals(SMI_MAX + ONE_HUNDRED, Add100Reversed(SMI_MAX), " 100 + smimax"); 207 v = SMI_MAX; 211 v = SMI_MAX;
|
D | negate.js | 28 const SMI_MAX = (1 << 30) - 1; constant 39 testmulneg(SMI_MAX, 3);
|
/external/v8/test/cctest/compiler/ |
D | test-run-bytecode-graph-builder.cc | 27 static const int SMI_MAX = (1 << 30) - 1; variable 1306 factory->NewNumberFromInt(SMI_MAX), factory->NewNumberFromInt(SMI_MIN)}; in TEST() 1312 factory->NewNumberFromInt(SMI_MAX), in TEST()
|