Changeset 29710 in webkit for trunk/JavaScriptCore/kjs/ExecState.h
- Timestamp:
- Jan 21, 2008, 10:18:10 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/ExecState.h
r29425 r29710 52 52 struct LocalStorageEntry; 53 53 54 typedef Vector<ExecState*, 16> ExecStateStack; 55 54 56 /** 55 57 * Represents the current state of script execution. This is … … 86 88 87 89 ExecState* callingExecState() { return m_callingExec; } 88 ExecState* savedExec() { return m_savedExec; }89 90 90 91 ActivationImp* activationObject() { return m_activation; } … … 107 108 bool inSwitch() const { return (m_switchDepth > 0); } 108 109 109 void mark();110 111 110 // These pointers are used to avoid accessing global variables for these, 112 111 // to avoid taking PIC branches in Mach-O binaries. … … 179 178 } 180 179 180 ExecState(JSGlobalObject*); 181 181 ExecState(JSGlobalObject*, JSObject* thisObject, ProgramNode*); 182 182 ExecState(JSGlobalObject*, EvalNode*, ExecState* callingExecState); … … 185 185 ~ExecState(); 186 186 187 static void markActiveExecStates(); 188 static ExecStateStack& activeExecStates(); 189 187 190 private: 188 191 // ExecStates are always stack-allocated, and the garbage collector … … 195 198 196 199 ExecState* m_callingExec; 197 ExecState* m_savedExec; 200 198 201 ScopeNode* m_scopeNode; 199 202
Note:
See TracChangeset
for help on using the changeset viewer.