Changeset 36413 in webkit for trunk/JavaScriptCore/VM/Machine.cpp
- Timestamp:
- Sep 14, 2008, 5:35:40 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/Machine.cpp
r36412 r36413 4233 4233 int argCount = ARG_int4; 4234 4234 4235 // In the JIT code before entering this function we wil have checked the vptr, 4236 // and know this is an object of type JSFunction. 4237 #ifndef NDEBUG 4235 4238 CallData callData; 4236 #ifndef NDEBUG4237 CallType callType =4238 4239 #endif 4239 funcVal->getCallData(callData); 4240 4241 ASSERT(callType == CallTypeJS); 4240 ASSERT(funcVal->getCallData(callData) == CallTypeJS); 4242 4241 4243 4242 if (*ARG_profilerReference) 4244 4243 (*ARG_profilerReference)->willExecute(exec, static_cast<JSObject*>(funcVal)); 4245 4244 4246 ScopeChainNode* callDataScopeChain = callData.js.scopeChain; 4247 FunctionBodyNode* functionBodyNode = callData.js.functionBody; 4245 ScopeChainNode* callDataScopeChain = static_cast<JSFunction*>(funcVal)->m_scopeChain.node(); 4246 FunctionBodyNode* functionBodyNode = static_cast<JSFunction*>(funcVal)->m_body.get(); 4247 4248 4248 CodeBlock* newCodeBlock = &functionBodyNode->byteCode(callDataScopeChain); 4249 4249
Note:
See TracChangeset
for help on using the changeset viewer.