Searched refs:callIdentifier (Results 1 - 5 of 5) sorted by relevance

/macosx-10.10/JavaScriptCore-7600.1.17/profiler/
H A DProfileGenerator.cpp109 void ProfileGenerator::willExecute(ExecState* callerCallFrame, const CallIdentifier& callIdentifier) argument
112 CString name = callIdentifier.functionName().utf8();
113 CString url = callIdentifier.url().utf8();
114 JAVASCRIPTCORE_PROFILE_WILL_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.lineNumber());
121 m_currentNode = m_currentNode->willExecute(callerCallFrame, callIdentifier);
124 void ProfileGenerator::didExecute(ExecState* callerCallFrame, const CallIdentifier& callIdentifier) argument
127 CString name = callIdentifier.functionName().utf8();
128 CString url = callIdentifier.url().utf8();
129 JAVASCRIPTCORE_PROFILE_DID_EXECUTE(m_profileGroup, const_cast<char*>(name.data()), const_cast<char*>(url.data()), callIdentifier.lineNumber());
136 if (m_currentNode->callIdentifier() !
[all...]
H A DProfileNode.cpp41 ProfileNode::ProfileNode(ExecState* callerCallFrame, const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode) argument
43 , m_callIdentifier(callIdentifier)
55 , m_callIdentifier(nodeToCopy->callIdentifier())
65 ProfileNode* ProfileNode::willExecute(ExecState* callerCallFrame, const CallIdentifier& callIdentifier) argument
68 if ((*currentChild)->callIdentifier() == callIdentifier) {
74 RefPtr<ProfileNode> newChild = ProfileNode::create(callerCallFrame, callIdentifier, m_head ? m_head : this, this); // If this ProfileNode has no head it is the head.
H A DProfileNode.h47 static PassRefPtr<ProfileNode> create(ExecState* callerCallFrame, const CallIdentifier& callIdentifier, ProfileNode* headNode, ProfileNode* parentNode) argument
49 return adoptRef(new ProfileNode(callerCallFrame, callIdentifier, headNode, parentNode));
76 bool operator==(ProfileNode* node) { return m_callIdentifier == node->callIdentifier(); }
85 const CallIdentifier& callIdentifier() const { return m_callIdentifier; } function in class:JSC::ProfileNode
H A DLegacyProfiler.cpp117 static inline void dispatchFunctionToProfiles(ExecState* callerOrHandlerCallFrame, const Vector<RefPtr<ProfileGenerator>>& profiles, ProfileGenerator::ProfileFunction function, const CallIdentifier& callIdentifier, unsigned currentProfileTargetGroup) argument
121 (profiles[i].get()->*function)(callerOrHandlerCallFrame, callIdentifier);
136 CallIdentifier callIdentifier = createCallIdentifier(callerCallFrame, JSValue(), sourceURL, startingLineNumber, startingColumnNumber); local
138 dispatchFunctionToProfiles(callerCallFrame, m_currentProfiles, &ProfileGenerator::willExecute, callIdentifier, callerCallFrame->lexicalGlobalObject()->profileGroup());
H A DProfileGenerator.h61 typedef void (ProfileGenerator::*ProfileFunction)(ExecState* callerOrHandlerCallFrame, const CallIdentifier& callIdentifier);

Completed in 75 milliseconds