Changeset 50675 in webkit for trunk/JavaScriptCore/interpreter
- Timestamp:
- Nov 9, 2009, 12:04:49 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/interpreter/Interpreter.cpp
r50608 r50675 1496 1496 JSValue src1 = callFrame->r(vPC[2].u.operand).jsValue(); 1497 1497 JSValue src2 = callFrame->r(vPC[3].u.operand).jsValue(); 1498 if (src1.isInt32() && src2.isInt32() && !(src1.asInt32() | src2.asInt32() & 0xc0000000)) // no overflow1498 if (src1.isInt32() && src2.isInt32() && !(src1.asInt32() | (src2.asInt32() & 0xc0000000))) // no overflow 1499 1499 callFrame->r(dst) = jsNumber(callFrame, src1.asInt32() + src2.asInt32()); 1500 1500 else { … … 1583 1583 JSValue src1 = callFrame->r(vPC[2].u.operand).jsValue(); 1584 1584 JSValue src2 = callFrame->r(vPC[3].u.operand).jsValue(); 1585 if (src1.isInt32() && src2.isInt32() && !(src1.asInt32() | src2.asInt32() & 0xc0000000)) // no overflow1585 if (src1.isInt32() && src2.isInt32() && !(src1.asInt32() | (src2.asInt32() & 0xc0000000))) // no overflow 1586 1586 callFrame->r(dst) = jsNumber(callFrame, src1.asInt32() - src2.asInt32()); 1587 1587 else {
Note:
See TracChangeset
for help on using the changeset viewer.