Changeset 41474 in webkit for trunk/JavaScriptCore/jit/JIT.cpp
- Timestamp:
- Mar 5, 2009, 11:02:10 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JIT.cpp
r41275 r41474 305 305 switch (opcodeID) { 306 306 case op_mov: { 307 emitGetVirtualRegister(currentInstruction[2].u.operand, regT0); 308 emitPutVirtualRegister(currentInstruction[1].u.operand); 307 int src = currentInstruction[2].u.operand; 308 int dst = currentInstruction[1].u.operand; 309 310 if (m_codeBlock->isConstantRegisterIndex(src)) { 311 storePtr(ImmPtr(JSValuePtr::encode(getConstantOperand(src))), Address(callFrameRegister, dst * sizeof(Register))); 312 if (dst == m_lastResultBytecodeRegister) 313 killLastResultRegister(); 314 } else { 315 emitGetVirtualRegister(src, regT0); 316 emitPutVirtualRegister(dst); 317 } 309 318 NEXT_OPCODE(op_mov); 310 319 }
Note:
See TracChangeset
for help on using the changeset viewer.