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/property_map.cpp

    r11472 r11527  
    9191public:
    9292    Identifier key;
    93     ProtectedPtr<ValueImp> value;
     93    ProtectedPtr<JSValue> value;
    9494    int attributes;
    9595};
     
    154154}
    155155
    156 ValueImp *PropertyMap::get(const Identifier &name, int &attributes) const
     156JSValue *PropertyMap::get(const Identifier &name, int &attributes) const
    157157{
    158158    assert(!name.isNull());
     
    195195}
    196196
    197 ValueImp *PropertyMap::get(const Identifier &name) const
     197JSValue *PropertyMap::get(const Identifier &name) const
    198198{
    199199    assert(!name.isNull());
     
    232232}
    233233
    234 ValueImp **PropertyMap::getLocation(const Identifier &name)
     234JSValue **PropertyMap::getLocation(const Identifier &name)
    235235{
    236236    assert(!name.isNull());
     
    289289#endif
    290290
    291 void PropertyMap::put(const Identifier &name, ValueImp *value, int attributes)
     291void PropertyMap::put(const Identifier &name, JSValue *value, int attributes)
    292292{
    293293    assert(!name.isNull());
     
    375375}
    376376
    377 void PropertyMap::insert(UString::Rep *key, ValueImp *value, int attributes, int index)
     377void PropertyMap::insert(UString::Rep *key, JSValue *value, int attributes, int index)
    378378{
    379379    assert(_table);
     
    535535#if USE_SINGLE_ENTRY
    536536        if (_singleEntry.key) {
    537             ValueImp *v = _singleEntry.value;
     537            JSValue *v = _singleEntry.value;
    538538            if (!v->marked())
    539539                v->mark();
     
    546546    Entry *entries = _table->entries;
    547547    for (int i = 0; i < minimumKeysToProcess; i++) {
    548         ValueImp *v = entries[i].value;
     548        JSValue *v = entries[i].value;
    549549        if (v) {
    550550            if (!v->marked())
     
    567567}
    568568
    569 void PropertyMap::addEnumerablesToReferenceList(ReferenceList &list, ObjectImp *base) const
     569void PropertyMap::addEnumerablesToReferenceList(ReferenceList &list, JSObject *base) const
    570570{
    571571    if (!_table) {
     
    609609}
    610610
    611 void PropertyMap::addSparseArrayPropertiesToReferenceList(ReferenceList &list, ObjectImp *base) const
     611void PropertyMap::addSparseArrayPropertiesToReferenceList(ReferenceList &list, JSObject *base) const
    612612{
    613613    if (!_table) {
Note: See TracChangeset for help on using the changeset viewer.