Changeset 155219 in webkit for trunk/Source/JavaScriptCore/runtime/Lookup.h
- Timestamp:
- Sep 6, 2013, 3:32:08 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Lookup.h
r154336 r155219 242 242 */ 243 243 template <class ThisImp, class ParentImp> 244 inline bool getStaticPropertySlot(ExecState* exec, const HashTable *table, ThisImp* thisObj, PropertyName propertyName, PropertySlot& slot)245 { 246 const HashEntry* entry = table ->entry(exec, propertyName);244 inline bool getStaticPropertySlot(ExecState* exec, const HashTable& table, ThisImp* thisObj, PropertyName propertyName, PropertySlot& slot) 245 { 246 const HashEntry* entry = table.entry(exec, propertyName); 247 247 248 248 if (!entry) // not found, forward to parent … … 262 262 */ 263 263 template <class ParentImp> 264 inline bool getStaticFunctionSlot(ExecState* exec, const HashTable *table, JSObject* thisObj, PropertyName propertyName, PropertySlot& slot)264 inline bool getStaticFunctionSlot(ExecState* exec, const HashTable& table, JSObject* thisObj, PropertyName propertyName, PropertySlot& slot) 265 265 { 266 266 if (ParentImp::getOwnPropertySlot(thisObj, exec, propertyName, slot)) 267 267 return true; 268 268 269 const HashEntry* entry = table ->entry(exec, propertyName);269 const HashEntry* entry = table.entry(exec, propertyName); 270 270 if (!entry) 271 271 return false; … … 279 279 */ 280 280 template <class ThisImp, class ParentImp> 281 inline bool getStaticValueSlot(ExecState* exec, const HashTable *table, ThisImp* thisObj, PropertyName propertyName, PropertySlot& slot)282 { 283 const HashEntry* entry = table ->entry(exec, propertyName);281 inline bool getStaticValueSlot(ExecState* exec, const HashTable& table, ThisImp* thisObj, PropertyName propertyName, PropertySlot& slot) 282 { 283 const HashEntry* entry = table.entry(exec, propertyName); 284 284 285 285 if (!entry) // not found, forward to parent … … 310 310 */ 311 311 template <class ThisImp> 312 inline bool lookupPut(ExecState* exec, PropertyName propertyName, JSValue value, const HashTable *table, ThisImp* thisObj, bool shouldThrow = false)313 { 314 const HashEntry* entry = table ->entry(exec, propertyName);312 inline bool lookupPut(ExecState* exec, PropertyName propertyName, JSValue value, const HashTable& table, ThisImp* thisObj, bool shouldThrow = false) 313 { 314 const HashEntry* entry = table.entry(exec, propertyName); 315 315 316 316 if (!entry) … … 328 328 */ 329 329 template <class ThisImp, class ParentImp> 330 inline void lookupPut(ExecState* exec, PropertyName propertyName, JSValue value, const HashTable *table, ThisImp* thisObj, PutPropertySlot& slot)330 inline void lookupPut(ExecState* exec, PropertyName propertyName, JSValue value, const HashTable& table, ThisImp* thisObj, PutPropertySlot& slot) 331 331 { 332 332 if (!lookupPut<ThisImp>(exec, propertyName, value, table, thisObj, slot.isStrictMode()))
Note:
See TracChangeset
for help on using the changeset viewer.