Changeset 43774 in webkit for trunk/JavaScriptCore/debugger
- Timestamp:
- May 15, 2009, 11:13:28 AM (16 years ago)
- Location:
- trunk/JavaScriptCore/debugger
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/debugger/DebuggerCallFrame.cpp
r43153 r43774 47 47 return &function->name(&m_callFrame->globalData()); 48 48 } 49 50 UString DebuggerCallFrame::calculatedFunctionName() const 51 { 52 if (!m_callFrame->codeBlock()) 53 return 0; 54 55 JSFunction* function = static_cast<JSFunction*>(m_callFrame->callee()); 56 if (!function) 57 return 0; 58 return function->calculatedDisplayName(&m_callFrame->globalData()); 59 } 49 60 50 61 DebuggerCallFrame::Type DebuggerCallFrame::type() const -
trunk/JavaScriptCore/debugger/DebuggerCallFrame.h
r43153 r43774 52 52 const ScopeChainNode* scopeChain() const { return m_callFrame->scopeChain(); } 53 53 const UString* functionName() const; 54 UString calculatedFunctionName() const; 54 55 Type type() const; 55 56 JSObject* thisObject() const;
Note:
See TracChangeset
for help on using the changeset viewer.