Changeset 13304 in webkit for trunk/JavaScriptCore/kjs/context.h
- Timestamp:
- Mar 15, 2006, 2:21:48 AM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/context.h
r12317 r13304 36 36 class ContextImp { 37 37 public: 38 ContextImp(JSObject *glob, InterpreterImp *, JSObject *thisV, CodeType type = GlobalCode,39 Co ntextImp *callingContext = 0, FunctionImp *functiion = 0, const List *args = 0);38 ContextImp(JSObject* global, InterpreterImp*, JSObject* thisV, FunctionBodyNode* currentBody, 39 CodeType type = GlobalCode, ContextImp* callingContext = 0, FunctionImp* function = 0, const List* args = 0); 40 40 ~ContextImp(); 41 42 FunctionBodyNode* currentBody() { return m_currentBody; } 41 43 42 44 const ScopeChain &scopeChain() const { return scope; } … … 53 55 void popScope() { scope.pop(); } 54 56 LabelStack *seenLabels() { return &ls; } 57 58 59 void pushIteration() { m_iterationDepth++; } 60 void popIteration() { m_iterationDepth--; } 61 bool inIteration() const { return (m_iterationDepth > 0); } 55 62 63 void pushSwitch() { m_switchDepth++; } 64 void popSwitch() { m_switchDepth--; } 65 bool inSwitch() const { return (m_switchDepth > 0); } 66 56 67 void mark(); 57 68 … … 59 70 InterpreterImp *_interpreter; 60 71 ContextImp *_callingContext; 72 FunctionBodyNode* m_currentBody; 73 61 74 FunctionImp *_function; 62 75 const List *_arguments; … … 71 84 72 85 LabelStack ls; 86 int m_iterationDepth; 87 int m_switchDepth; 73 88 CodeType m_codeType; 74 89 };
Note:
See TracChangeset
for help on using the changeset viewer.