Changeset 39316 in webkit for trunk/JavaScriptCore/jit/JITArithmetic.cpp
- Timestamp:
- Dec 15, 2008, 3:38:19 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITArithmetic.cpp
r39284 r39316 144 144 __ link(__ jp(), resultLookedLikeImmButActuallyIsnt); // Actually was a NaN 145 145 __ pextrw_irr(3, xmmSource, tempReg2); 146 __ cmpl_i 32r(0x8000, tempReg2);146 __ cmpl_ir(0x8000, tempReg2); 147 147 __ link(__ je(), resultLookedLikeImmButActuallyIsnt); // Actually was -0 148 148 // Yes it really really really is representable as a JSImmediate. … … 171 171 if (!types.second().definitelyIsNumber()) { 172 172 emitJumpSlowCaseIfNotJSCell(X86::edx, src2); 173 __ cmpl_i 32m(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::edx);173 __ cmpl_im(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::edx); 174 174 addSlowCase(__ jne()); 175 175 } … … 181 181 if (!types.first().definitelyIsNumber()) { 182 182 emitJumpSlowCaseIfNotJSCell(X86::eax, src1); 183 __ cmpl_i 32m(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::eax);183 __ cmpl_im(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::eax); 184 184 addSlowCase(__ jne()); 185 185 } … … 218 218 if (!types.first().definitelyIsNumber()) { 219 219 emitJumpSlowCaseIfNotJSCell(X86::eax, src1); 220 __ cmpl_i 32m(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::eax);220 __ cmpl_im(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::eax); 221 221 addSlowCase(__ jne()); 222 222 } … … 228 228 if (!types.second().definitelyIsNumber()) { 229 229 emitJumpSlowCaseIfNotJSCell(X86::edx, src2); 230 __ cmpl_i 32m(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::edx);230 __ cmpl_im(reinterpret_cast<unsigned>(numberStructure), FIELD_OFFSET(JSCell, m_structure), X86::edx); 231 231 addSlowCase(__ jne()); 232 232 }
Note:
See TracChangeset
for help on using the changeset viewer.