Changeset 11527 in webkit for trunk/JavaScriptCore/kjs/context.h


Ignore:
Timestamp:
Dec 10, 2005, 6:06:17 PM (19 years ago)
Author:
darin
Message:

JavaScriptCore:

Rubber stamped by Maciej.

  • did long-promised KJS renaming:

ValueImp -> JSValue
ObjectImp -> JSObject
AllocatedValueImp -> JSCell

A renaming to get a class out of the way

KJS::Bindings::JSObject -> JavaJSObject

and some other "imp-reduction" renaming

*InstanceImp -> *Instance
*ProtoFuncImp -> *ProtoFunc
*PrototypeImp -> *Prototype
ArgumentsImp -> Arguments
RuntimeArrayImp -> RuntimeArray
RuntimeMethodImp -> RuntimeMethod

  • most files and functions

WebCore:

Rubber stamped by Maciej.

  • updated for KJS class renaming
  • many files and functions
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/context.h

    r10084 r11527  
    3636  class ContextImp {
    3737  public:
    38     ContextImp(ObjectImp *glob, InterpreterImp *, ObjectImp *thisV, CodeType type = GlobalCode,
     38    ContextImp(JSObject *glob, InterpreterImp *, JSObject *thisV, CodeType type = GlobalCode,
    3939               ContextImp *callingContext = 0, FunctionImp *functiion = 0, const List *args = 0);
    4040    ~ContextImp();
     
    4242    const ScopeChain &scopeChain() const { return scope; }
    4343    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; }
    4747    ContextImp *callingContext() { return _callingContext; }
    48     ObjectImp *activationObject() { return activation; }
     48    JSObject *activationObject() { return activation; }
    4949    FunctionImp *function() const { return _function; }
    5050    const List *arguments() const { return _arguments; }
    5151
    52     void pushScope(ObjectImp *s) { scope.push(s); }
     52    void pushScope(JSObject *s) { scope.push(s); }
    5353    void popScope() { scope.pop(); }
    5454    LabelStack *seenLabels() { return &ls; }
     
    6464    // there is no need to protect various pointers from conservative
    6565    // GC since they will be caught by the conservative sweep anyway!
    66     ObjectImp *activation;
     66    JSObject *activation;
    6767   
    6868    ScopeChain scope;
    69     ObjectImp *variable;
    70     ObjectImp *thisVal;
     69    JSObject *variable;
     70    JSObject *thisVal;
    7171
    7272    LabelStack ls;
Note: See TracChangeset for help on using the changeset viewer.