Index: JavaScriptCore/jit/JITCall.cpp |
=================================================================== |
--- JavaScriptCore/jit/JITCall.cpp (revision 10232) |
+++ JavaScriptCore/jit/JITCall.cpp (working copy) |
@@ -145,7 +145,7 @@ |
// Check for JSFunctions. |
emitJumpSlowCaseIfNotJSCell(regT2); |
- addSlowCase(branchPtr(NotEqual, Address(regT2), ImmPtr(m_interpreter->m_jsFunctionVptr))); |
+ addSlowCase(branchPtr(NotEqual, Address(regT2), ImmPtr(m_globalData->jsFunctionVPtr))); |
// First, in the case of a construct, allocate the new object. |
if (opcodeID == op_construct) { |
@@ -159,7 +159,7 @@ |
addPtr(Imm32(registerOffset * static_cast<int>(sizeof(Register))), callFrameRegister); |
move(Imm32(argCount), regT1); |
- emitNakedCall(m_interpreter->m_ctiVirtualCall); |
+ emitNakedCall(m_globalData->jitStubs.ctiVirtualCall()); |
if (opcodeID == op_call_eval) |
wasEval.link(this); |
@@ -266,7 +266,7 @@ |
// Fast check for JS function. |
Jump callLinkFailNotObject = emitJumpIfNotJSCell(regT2); |
- Jump callLinkFailNotJSFunction = branchPtr(NotEqual, Address(regT2), ImmPtr(m_interpreter->m_jsFunctionVptr)); |
+ Jump callLinkFailNotJSFunction = branchPtr(NotEqual, Address(regT2), ImmPtr(m_globalData->jsFunctionVPtr)); |
// First, in the case of a construct, allocate the new object. |
if (opcodeID == op_construct) { |
@@ -282,7 +282,7 @@ |
addPtr(Imm32(registerOffset * static_cast<int>(sizeof(Register))), callFrameRegister); |
m_callStructureStubCompilationInfo[callLinkInfoIndex].callReturnLocation = |
- emitNakedCall(m_interpreter->m_ctiVirtualCallPreLink); |
+ emitNakedCall(m_globalData->jitStubs.ctiVirtualCallPreLink()); |
Jump storeResultForFirstRun = jump(); |
@@ -298,7 +298,7 @@ |
// Check for JSFunctions. |
Jump isNotObject = emitJumpIfNotJSCell(regT2); |
- Jump isJSFunction = branchPtr(Equal, Address(regT2), ImmPtr(m_interpreter->m_jsFunctionVptr)); |
+ Jump isJSFunction = branchPtr(Equal, Address(regT2), ImmPtr(m_globalData->jsFunctionVPtr)); |
// This handles host functions |
isNotObject.link(this); |
@@ -322,7 +322,7 @@ |
addPtr(Imm32(registerOffset * static_cast<int>(sizeof(Register))), callFrameRegister); |
move(Imm32(argCount), regT1); |
- emitNakedCall(m_interpreter->m_ctiVirtualCall); |
+ emitNakedCall(m_globalData->jitStubs.ctiVirtualCall()); |
// Put the return value in dst. In the interpreter, op_ret does this. |
wasNotJSFunction.link(this); |