Changeset 163755 in webkit for trunk/Source/JavaScriptCore/runtime/JSCellInlines.h
- Timestamp:
- Feb 9, 2014, 1:33:17 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSCellInlines.h
r163225 r163755 172 172 // performing the property map lookup without forming an identifier. We detect this 173 173 // case by checking whether the hash has yet been set for this string. 174 ALWAYS_INLINE JSValue JSCell::fastGetOwnProperty( ExecState* exec, const String& name)174 ALWAYS_INLINE JSValue JSCell::fastGetOwnProperty(VM& vm, const String& name) 175 175 { 176 176 if (!structure()->typeInfo().overridesGetOwnPropertySlot() && !structure()->hasGetterSetterProperties()) { 177 177 PropertyOffset offset = name.impl()->hasHash() 178 ? structure()->get( exec->vm(), Identifier(exec, name))179 : structure()->get( exec->vm(), name);178 ? structure()->get(vm, Identifier(&vm, name)) 179 : structure()->get(vm, name); 180 180 if (offset != invalidOffset) 181 181 return asObject(this)->locationForOffset(offset)->get();
Note:
See TracChangeset
for help on using the changeset viewer.