Changeset 157836 in webkit for trunk/Source/JavaScriptCore/runtime/Lookup.h
- Timestamp:
- Oct 22, 2013, 5:26:25 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/Lookup.h
r156009 r157836 122 122 } 123 123 124 ALWAYS_INLINE void initializeIfNeeded(VM *vm) const124 ALWAYS_INLINE void initializeIfNeeded(VM& vm) const 125 125 { 126 126 if (!table) … … 131 131 { 132 132 if (!table) 133 createTable( &exec->vm());133 createTable(exec->vm()); 134 134 } 135 135 … … 137 137 138 138 // Find an entry in the table, and return the entry. 139 ALWAYS_INLINE const HashEntry* entry(VM *vm, PropertyName identifier) const139 ALWAYS_INLINE const HashEntry* entry(VM& vm, PropertyName identifier) const 140 140 { 141 141 initializeIfNeeded(vm); … … 197 197 ConstIterator begin(VM& vm) const 198 198 { 199 initializeIfNeeded( &vm);199 initializeIfNeeded(vm); 200 200 return ConstIterator(this, 0); 201 201 } 202 202 ConstIterator end(VM& vm) const 203 203 { 204 initializeIfNeeded( &vm);204 initializeIfNeeded(vm); 205 205 return ConstIterator(this, compactSize); 206 206 } … … 230 230 231 231 // Convert the hash table keys to identifiers. 232 JS_EXPORT_PRIVATE void createTable(VM *) const;232 JS_EXPORT_PRIVATE void createTable(VM&) const; 233 233 }; 234 234
Note:
See TracChangeset
for help on using the changeset viewer.