Changeset 11527 in webkit for trunk/JavaScriptCore/kjs/context.h
- Timestamp:
- Dec 10, 2005, 6:06:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/context.h
r10084 r11527 36 36 class ContextImp { 37 37 public: 38 ContextImp( ObjectImp *glob, InterpreterImp *, ObjectImp*thisV, CodeType type = GlobalCode,38 ContextImp(JSObject *glob, InterpreterImp *, JSObject *thisV, CodeType type = GlobalCode, 39 39 ContextImp *callingContext = 0, FunctionImp *functiion = 0, const List *args = 0); 40 40 ~ContextImp(); … … 42 42 const ScopeChain &scopeChain() const { return scope; } 43 43 CodeType codeType() { return m_codeType; } 44 ObjectImp*variableObject() const { return variable; }45 void setVariableObject( ObjectImp*v) { variable = v; }46 ObjectImp*thisValue() const { return thisVal; }44 JSObject *variableObject() const { return variable; } 45 void setVariableObject(JSObject *v) { variable = v; } 46 JSObject *thisValue() const { return thisVal; } 47 47 ContextImp *callingContext() { return _callingContext; } 48 ObjectImp*activationObject() { return activation; }48 JSObject *activationObject() { return activation; } 49 49 FunctionImp *function() const { return _function; } 50 50 const List *arguments() const { return _arguments; } 51 51 52 void pushScope( ObjectImp*s) { scope.push(s); }52 void pushScope(JSObject *s) { scope.push(s); } 53 53 void popScope() { scope.pop(); } 54 54 LabelStack *seenLabels() { return &ls; } … … 64 64 // there is no need to protect various pointers from conservative 65 65 // GC since they will be caught by the conservative sweep anyway! 66 ObjectImp*activation;66 JSObject *activation; 67 67 68 68 ScopeChain scope; 69 ObjectImp*variable;70 ObjectImp*thisVal;69 JSObject *variable; 70 JSObject *thisVal; 71 71 72 72 LabelStack ls;
Note:
See TracChangeset
for help on using the changeset viewer.