X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/9dae56ea45a0f5f8136a5c93d6f3a7f99399ca73..8b637bb680022adfddad653280734877951535a9:/debugger/DebuggerCallFrame.h diff --git a/debugger/DebuggerCallFrame.h b/debugger/DebuggerCallFrame.h index cdf4965..66585a6 100644 --- a/debugger/DebuggerCallFrame.h +++ b/debugger/DebuggerCallFrame.h @@ -39,27 +39,28 @@ namespace JSC { DebuggerCallFrame(CallFrame* callFrame) : m_callFrame(callFrame) - , m_exception(noValue()) { } - DebuggerCallFrame(CallFrame* callFrame, JSValuePtr exception) + DebuggerCallFrame(CallFrame* callFrame, JSValue exception) : m_callFrame(callFrame) , m_exception(exception) { } + CallFrame* callFrame() const { return m_callFrame; } JSGlobalObject* dynamicGlobalObject() const { return m_callFrame->dynamicGlobalObject(); } - const ScopeChainNode* scopeChain() const { return m_callFrame->scopeChain(); } - const UString* functionName() const; - Type type() const; - JSObject* thisObject() const; - JSValuePtr evaluate(const UString&, JSValuePtr& exception) const; - JSValuePtr exception() const { return m_exception; } + JSScope* scope() const { return m_callFrame->scope(); } + JS_EXPORT_PRIVATE String functionName() const; + JS_EXPORT_PRIVATE String calculatedFunctionName() const; + JS_EXPORT_PRIVATE Type type() const; + JS_EXPORT_PRIVATE JSObject* thisObject() const; + JS_EXPORT_PRIVATE JSValue evaluate(const String&, JSValue& exception) const; + JSValue exception() const { return m_exception; } private: CallFrame* m_callFrame; - JSValuePtr m_exception; + JSValue m_exception; }; } // namespace JSC