Changeset 31746 in webkit for trunk/JavaScriptCore/kjs/ExecState.h
- Timestamp:
- Apr 8, 2008, 7:17:49 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ExecState.h
r31172 r31746 74 74 75 75 JSObject* thisValue() const { return m_thisValue; } 76 JSObject* globalThisValue() const { return m_globalThisValue; } 76 77 77 78 ExecState* callingExecState() { return m_callingExec; } … … 165 166 166 167 protected: 167 ExecState(JSGlobalObject* );168 ExecState(JSGlobalObject*, JSObject* thisObject); 168 169 ExecState(JSGlobalObject*, JSObject* thisObject, ProgramNode*); 169 170 ExecState(JSGlobalObject*, JSObject* thisObject, EvalNode*, ExecState* callingExecState, const ScopeChain&, JSVariableObject*); 170 ExecState(JSGlobalObject*, JSObject* thisObject, FunctionBodyNode*, ExecState* callingExecState, FunctionImp*, const List& args);171 ExecState(JSGlobalObject*, JSObject* thisObject, JSObject* globalThisValue, FunctionBodyNode*, ExecState* callingExecState, FunctionImp*, const List& args); 171 172 ~ExecState(); 172 173 … … 191 192 ScopeChainNode m_inlineScopeChainNode; 192 193 JSVariableObject* m_variableObject; 194 193 195 JSObject* m_thisValue; 196 JSObject* m_globalThisValue; 194 197 195 198 LabelStack m_labelStack; … … 204 207 class GlobalExecState : public ExecState { 205 208 public: 206 GlobalExecState(JSGlobalObject* );209 GlobalExecState(JSGlobalObject*, JSObject* thisObject); 207 210 ~GlobalExecState(); 208 211 }; … … 222 225 class FunctionExecState : public ExecState { 223 226 public: 224 FunctionExecState(JSGlobalObject*, JSObject* thisObject, FunctionBodyNode*,227 FunctionExecState(JSGlobalObject*, JSObject* thisObject, JSObject* globalThisValue, FunctionBodyNode*, 225 228 ExecState* callingExecState, FunctionImp*, const List& args); 226 229 ~FunctionExecState();
Note:
See TracChangeset
for help on using the changeset viewer.