Changeset 37428 in webkit for trunk/JavaScriptCore/kjs/DebuggerCallFrame.h
- Timestamp:
- Oct 8, 2008, 10:50:42 AM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/DebuggerCallFrame.h
r37427 r37428 30 30 #define DebuggerCallFrame_h 31 31 32 #include "ExecState.h"33 34 32 namespace JSC { 33 34 class CodeBlock; 35 class ExecState; 36 class JSGlobalObject; 37 class JSObject; 38 class JSValue; 39 class Machine; 40 class UString; 41 class Register; 42 class ScopeChainNode; 35 43 36 44 class DebuggerCallFrame { 37 45 public: 38 enum Type { ProgramType, FunctionType }; 46 enum Type { 47 ProgramType, 48 FunctionType 49 }; 39 50 40 DebuggerCallFrame(CallFrame* callFrame, JSValue* exception) 41 : m_callFrame(callFrame) 51 DebuggerCallFrame(JSGlobalObject* dynamicGlobalObject, const CodeBlock* codeBlock, ScopeChainNode* scopeChain, Register* r, JSValue* exception) 52 : m_dynamicGlobalObject(dynamicGlobalObject) 53 , m_codeBlock(codeBlock) 54 , m_scopeChain(scopeChain) 55 , m_registers(r) 42 56 , m_exception(exception) 43 57 { 44 58 } 45 59 46 JSGlobalObject* dynamicGlobalObject() const { return m_ callFrame->dynamicGlobalObject(); }47 const ScopeChainNode* scopeChain() const { return m_ callFrame->scopeChain(); }60 JSGlobalObject* dynamicGlobalObject() const { return m_dynamicGlobalObject; } 61 const ScopeChainNode* scopeChain() const { return m_scopeChain; } 48 62 const UString* functionName() const; 49 63 Type type() const; … … 53 67 54 68 private: 55 CallFrame* m_callFrame; 69 JSGlobalObject* m_dynamicGlobalObject; 70 const CodeBlock* m_codeBlock; 71 ScopeChainNode* m_scopeChain; 72 Register* m_registers; 56 73 JSValue* m_exception; 57 74 };
Note:
See TracChangeset
for help on using the changeset viewer.