Changeset 49293 in webkit for trunk/JavaScriptCore/jit/JITCall.cpp
- Timestamp:
- Oct 8, 2009, 2:18:21 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/jit/JITCall.cpp
r49030 r49293 244 244 stubCall.addArgument(JIT::Imm32(argCount)); 245 245 stubCall.call(); 246 wasEval = branch32( Equal, regT1, Imm32(JSValue::EmptyValueTag));247 } 248 249 emitLoad(callee, regT1, regT 2);246 wasEval = branch32(NotEqual, regT1, Imm32(JSValue::EmptyValueTag)); 247 } 248 249 emitLoad(callee, regT1, regT0); 250 250 251 251 if (opcodeID == op_call) … … 255 255 256 256 emitJumpSlowCaseIfNotJSCell(callee, regT1); 257 addSlowCase(branchPtr(NotEqual, Address(regT 2), ImmPtr(m_globalData->jsFunctionVPtr)));257 addSlowCase(branchPtr(NotEqual, Address(regT0), ImmPtr(m_globalData->jsFunctionVPtr))); 258 258 259 259 // First, in the case of a construct, allocate the new object. 260 260 if (opcodeID == op_construct) { 261 261 JITStubCall(this, cti_op_construct_JSConstruct).call(registerOffset - RegisterFile::CallFrameHeaderSize - argCount); 262 emitLoad(callee, regT1, regT 2);262 emitLoad(callee, regT1, regT0); 263 263 } 264 264 … … 273 273 wasEval.link(this); 274 274 275 emitStore(dst, regT1, regT0); ;275 emitStore(dst, regT1, regT0); 276 276 277 277 sampleCodeBlock(m_codeBlock);
Note:
See TracChangeset
for help on using the changeset viewer.