Changeset 173188 in webkit for trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
- Timestamp:
- Sep 2, 2014, 3:29:59 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/dfg/DFGOperations.cpp
r173120 r173188 298 298 Structure& structure = *base->structure(vm); 299 299 if (JSCell::canUseFastGetOwnProperty(structure)) { 300 if (JSValue result = base->fastGetOwnProperty(vm, structure, asString(property)->value(exec))) 301 return JSValue::encode(result); 300 if (AtomicStringImpl* existingAtomicString = asString(property)->toExistingAtomicString(exec)) { 301 if (JSValue result = base->fastGetOwnProperty(vm, structure, existingAtomicString)) 302 return JSValue::encode(result); 303 } 302 304 } 303 305 } … … 328 330 Structure& structure = *base->structure(vm); 329 331 if (JSCell::canUseFastGetOwnProperty(structure)) { 330 if (JSValue result = base->fastGetOwnProperty(vm, structure, asString(property)->value(exec))) 331 return JSValue::encode(result); 332 if (AtomicStringImpl* existingAtomicString = asString(property)->toExistingAtomicString(exec)) { 333 if (JSValue result = base->fastGetOwnProperty(vm, structure, existingAtomicString)) 334 return JSValue::encode(result); 335 } 332 336 } 333 337 }
Note:
See TracChangeset
for help on using the changeset viewer.