Changeset 37086 in webkit for trunk/JavaScriptCore/kjs/ExecState.h
- Timestamp:
- Sep 29, 2008, 5:46:25 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ExecState.h
r36263 r37086 25 25 26 26 #include "JSGlobalData.h" 27 #include "Machine.h" 27 28 #include "ScopeChain.h" 28 29 … … 53 54 friend class DebuggerCallFrame; 54 55 public: 55 ExecState(JSGlobalObject*, JSObject* globalThisValue, ScopeChainNode* globalScopeChain);56 ExecState(JSGlobalObject*, JSObject* globalThisValue, Register* callFrame); 56 57 57 58 // Global object in which execution began. … … 62 63 JSGlobalObject* lexicalGlobalObject() const 63 64 { 64 return m_scopeChain->globalObject();65 return Machine::scopeChain(m_callFrame)->globalObject(); 65 66 } 66 67 67 JSObject* globalThisValue() const { return m_scopeChain->globalThisObject(); }68 JSObject* globalThisValue() const { return Machine::scopeChain(m_callFrame)->globalThisObject(); } 68 69 69 70 // Exception propogation. … … 100 101 ExecState() { } 101 102 102 ExecState(ExecState*, RegisterFile*, ScopeChainNode*,Register* callFrame);103 ExecState(ExecState*, RegisterFile*, Register* callFrame); 103 104 104 105 bool isGlobalObject(JSObject*) const; … … 116 117 ExecState* m_prev; 117 118 RegisterFile* m_registerFile; 118 ScopeChainNode* m_scopeChain;119 119 Register* m_callFrame; // The most recent call frame. 120 120 };
Note:
See TracChangeset
for help on using the changeset viewer.