Changeset 92569 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
- Timestamp:
- Aug 6, 2011, 8:44:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r91883 r92569 211 211 return getByVal(exec, base, propertyAsUInt32); 212 212 } else if (property.isString()) { 213 Identifier propertyName(exec, asString(property)->value(exec)); 214 PropertySlot slot(base); 215 if (base->fastGetOwnPropertySlot(exec, propertyName, slot)) 216 return JSValue::encode(slot.getValue(exec, propertyName)); 213 if (JSValue result = base->fastGetOwnProperty(exec, asString(property)->value(exec))) 214 return JSValue::encode(result); 217 215 } 218 216 }
Note:
See TracChangeset
for help on using the changeset viewer.