Changeset 41508 in webkit for trunk/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Mar 6, 2009, 8:58:36 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JIT.cpp
r41474 r41508 312 312 if (dst == m_lastResultBytecodeRegister) 313 313 killLastResultRegister(); 314 } else { 314 } else if ((src == m_lastResultBytecodeRegister) || (dst == m_lastResultBytecodeRegister)) { 315 // If either the src or dst is the cached register go though 316 // get/put registers to make sure we track this correctly. 315 317 emitGetVirtualRegister(src, regT0); 316 318 emitPutVirtualRegister(dst); 319 } else { 320 // Perform the copy via regT1; do not disturb any mapping in regT0. 321 loadPtr(Address(callFrameRegister, src * sizeof(Register)), regT1); 322 storePtr(regT1, Address(callFrameRegister, dst * sizeof(Register))); 317 323 } 318 324 NEXT_OPCODE(op_mov);
Note:
See TracChangeset
for help on using the changeset viewer.