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/array_instance.h

    r10857 r11527  
    2828namespace KJS {
    2929
    30   class ArrayInstanceImp : public ObjectImp {
     30  class ArrayInstance : public JSObject {
    3131  public:
    32     ArrayInstanceImp(ObjectImp *proto, unsigned initialLength);
    33     ArrayInstanceImp(ObjectImp *proto, const List &initialValues);
    34     ~ArrayInstanceImp();
     32    ArrayInstance(JSObject *proto, unsigned initialLength);
     33    ArrayInstance(JSObject *proto, const List &initialValues);
     34    ~ArrayInstance();
    3535
    3636    virtual bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&);
    3737    virtual bool getOwnPropertySlot(ExecState *, unsigned, PropertySlot&);
    38     virtual void put(ExecState *exec, const Identifier &propertyName, ValueImp *value, int attr = None);
    39     virtual void put(ExecState *exec, unsigned propertyName, ValueImp *value, int attr = None);
     38    virtual void put(ExecState *exec, const Identifier &propertyName, JSValue *value, int attr = None);
     39    virtual void put(ExecState *exec, unsigned propertyName, JSValue *value, int attr = None);
    4040    virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName);
    4141    virtual bool deleteProperty(ExecState *exec, unsigned propertyName);
     
    5050   
    5151    void sort(ExecState *exec);
    52     void sort(ExecState *exec, ObjectImp *compareFunction);
     52    void sort(ExecState *exec, JSObject *compareFunction);
    5353   
    5454  private:
    55     static ValueImp *lengthGetter(ExecState *, const Identifier&, const PropertySlot&);
     55    static JSValue *lengthGetter(ExecState *, const Identifier&, const PropertySlot&);
    5656
    5757    void setLength(unsigned newLength, ExecState *exec);
     
    6464    unsigned storageLength;
    6565    unsigned capacity;
    66     ValueImp **storage;
     66    JSValue **storage;
    6767  };
    6868
Note: See TracChangeset for help on using the changeset viewer.