Changeset 49293 in webkit for trunk/JavaScriptCore
- Timestamp:
- Oct 8, 2009, 2:18:21 AM (16 years ago)
- Location:
- trunk/JavaScriptCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/ChangeLog
r49281 r49293 1 2009-10-08 Zoltan Herczeg <[email protected]> 2 3 Reviewed by Gavin Barraclough. 4 5 Fix for JIT'ed op_call instructions (evals, constructs, etc.) 6 when !ENABLE(JIT_OPTIMIZE_CALL) && USE(JSVALUE32_64) 7 8 https://bugs.webkit.org/show_bug.cgi?id=30201 9 10 * jit/JITCall.cpp: 11 (JSC::JIT::compileOpCall): 12 1 13 2009-10-07 Geoffrey Garen <[email protected]> 2 14 -
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.