Changeset 11527 in webkit for trunk/JavaScriptCore/kjs/property_map.cpp
- Timestamp:
- Dec 10, 2005, 6:06:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/property_map.cpp
r11472 r11527 91 91 public: 92 92 Identifier key; 93 ProtectedPtr< ValueImp> value;93 ProtectedPtr<JSValue> value; 94 94 int attributes; 95 95 }; … … 154 154 } 155 155 156 ValueImp*PropertyMap::get(const Identifier &name, int &attributes) const156 JSValue *PropertyMap::get(const Identifier &name, int &attributes) const 157 157 { 158 158 assert(!name.isNull()); … … 195 195 } 196 196 197 ValueImp*PropertyMap::get(const Identifier &name) const197 JSValue *PropertyMap::get(const Identifier &name) const 198 198 { 199 199 assert(!name.isNull()); … … 232 232 } 233 233 234 ValueImp**PropertyMap::getLocation(const Identifier &name)234 JSValue **PropertyMap::getLocation(const Identifier &name) 235 235 { 236 236 assert(!name.isNull()); … … 289 289 #endif 290 290 291 void PropertyMap::put(const Identifier &name, ValueImp*value, int attributes)291 void PropertyMap::put(const Identifier &name, JSValue *value, int attributes) 292 292 { 293 293 assert(!name.isNull()); … … 375 375 } 376 376 377 void PropertyMap::insert(UString::Rep *key, ValueImp*value, int attributes, int index)377 void PropertyMap::insert(UString::Rep *key, JSValue *value, int attributes, int index) 378 378 { 379 379 assert(_table); … … 535 535 #if USE_SINGLE_ENTRY 536 536 if (_singleEntry.key) { 537 ValueImp*v = _singleEntry.value;537 JSValue *v = _singleEntry.value; 538 538 if (!v->marked()) 539 539 v->mark(); … … 546 546 Entry *entries = _table->entries; 547 547 for (int i = 0; i < minimumKeysToProcess; i++) { 548 ValueImp*v = entries[i].value;548 JSValue *v = entries[i].value; 549 549 if (v) { 550 550 if (!v->marked()) … … 567 567 } 568 568 569 void PropertyMap::addEnumerablesToReferenceList(ReferenceList &list, ObjectImp*base) const569 void PropertyMap::addEnumerablesToReferenceList(ReferenceList &list, JSObject *base) const 570 570 { 571 571 if (!_table) { … … 609 609 } 610 610 611 void PropertyMap::addSparseArrayPropertiesToReferenceList(ReferenceList &list, ObjectImp*base) const611 void PropertyMap::addSparseArrayPropertiesToReferenceList(ReferenceList &list, JSObject *base) const 612 612 { 613 613 if (!_table) {
Note:
See TracChangeset
for help on using the changeset viewer.