Changeset 36876 in webkit for trunk/JavaScriptCore/VM/CTI.cpp
- Timestamp:
- Sep 24, 2008, 5:26:38 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/CTI.cpp
r36841 r36876 1418 1418 } 1419 1419 CTI_COMPILE_BINARY_OP(op_less) 1420 CTI_COMPILE_BINARY_OP(op_neq) 1420 case op_neq: { 1421 emitGetArg(instruction[i + 2].u.operand, X86::eax); 1422 emitGetArg(instruction[i + 3].u.operand, X86::edx); 1423 emitJumpSlowCaseIfNotImmNums(X86::eax, X86::edx, i); 1424 m_jit.cmpl_rr(X86::eax, X86::edx); 1425 1426 m_jit.setne_r(X86::eax); 1427 m_jit.movzbl_rr(X86::eax, X86::eax); 1428 emitTagAsBoolImmediate(X86::eax); 1429 1430 emitPutResult(instruction[i + 1].u.operand); 1431 1432 i += 4; 1433 break; 1434 } 1421 1435 case op_post_dec: { 1422 1436 int srcDst = instruction[i + 2].u.operand; … … 2179 2193 break; 2180 2194 } 2195 case op_neq: { 2196 m_jit.link(iter->from, m_jit.label()); 2197 emitPutArg(X86::eax, 0); 2198 emitPutArg(X86::edx, 4); 2199 emitCall(i, Machine::cti_op_neq); 2200 emitPutResult(instruction[i + 1].u.operand); 2201 i += 4; 2202 break; 2203 } 2181 2204 CTI_COMPILE_BINARY_OP_SLOW_CASE(op_stricteq); 2182 2205 CTI_COMPILE_BINARY_OP_SLOW_CASE(op_nstricteq);
Note:
See TracChangeset
for help on using the changeset viewer.