Changeset 45609 in webkit for trunk/JavaScriptCore/jit/JITOpcodes.cpp
- Timestamp:
- Jul 7, 2009, 2:52:07 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITOpcodes.cpp
r44889 r45609 506 506 } 507 507 508 void JIT::emit_op_unexpected_load(Instruction* currentInstruction)509 {510 JSValue v = m_codeBlock->unexpectedConstant(currentInstruction[2].u.operand);511 move(ImmPtr(JSValue::encode(v)), regT0);512 emitPutVirtualRegister(currentInstruction[1].u.operand);513 }514 515 508 void JIT::emit_op_jsr(Instruction* currentInstruction) 516 509 { … … 760 753 JITStubCall stubCall(this, JITStubs::cti_op_new_error); 761 754 stubCall.addArgument(Imm32(currentInstruction[2].u.operand)); 762 stubCall.addArgument(ImmPtr(JSValue::encode(m_codeBlock-> unexpectedConstant(currentInstruction[3].u.operand))));755 stubCall.addArgument(ImmPtr(JSValue::encode(m_codeBlock->getConstant(currentInstruction[3].u.operand)))); 763 756 stubCall.addArgument(Imm32(m_bytecodeIndex)); 764 757 stubCall.call(currentInstruction[1].u.operand); … … 829 822 // registers to zap stale pointers, to avoid unnecessarily prolonging 830 823 // object lifetime and increasing GC pressure. 831 size_t count = m_codeBlock->m_numVars + m_codeBlock->numberOfConstantRegisters();824 size_t count = m_codeBlock->m_numVars; 832 825 for (size_t j = 0; j < count; ++j) 833 826 emitInitRegister(j); … … 840 833 // registers to zap stale pointers, to avoid unnecessarily prolonging 841 834 // object lifetime and increasing GC pressure. 842 size_t count = m_codeBlock->m_numVars + m_codeBlock->numberOfConstantRegisters();835 size_t count = m_codeBlock->m_numVars; 843 836 for (size_t j = 0; j < count; ++j) 844 837 emitInitRegister(j);
Note:
See TracChangeset
for help on using the changeset viewer.