Changeset 197144 in webkit for trunk/Source/JavaScriptCore/runtime/CommonSlowPaths.cpp
- Timestamp:
- Feb 25, 2016, 4:15:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/CommonSlowPaths.cpp
r196868 r197144 603 603 pc[4].u.arrayProfile->observeStructure(base->structure(vm)); 604 604 ASSERT(property.isUInt32()); 605 RETURN(jsBoolean(base->hasProperty (exec, property.asUInt32())));605 RETURN(jsBoolean(base->hasPropertyGeneric(exec, property.asUInt32(), PropertySlot::InternalMethodType::GetOwnProperty))); 606 606 } 607 607 … … 615 615 if (base->structure(vm)->id() == enumerator->cachedStructureID()) 616 616 RETURN(jsBoolean(true)); 617 RETURN(jsBoolean(base->hasProperty (exec, asString(property.asCell())->toIdentifier(exec))));617 RETURN(jsBoolean(base->hasPropertyGeneric(exec, asString(property.asCell())->toIdentifier(exec), PropertySlot::InternalMethodType::GetOwnProperty))); 618 618 } 619 619 … … 625 625 bool result; 626 626 if (property.isString()) 627 result = base->hasProperty (exec, asString(property.asCell())->toIdentifier(exec));627 result = base->hasPropertyGeneric(exec, asString(property.asCell())->toIdentifier(exec), PropertySlot::InternalMethodType::GetOwnProperty); 628 628 else { 629 629 ASSERT(property.isUInt32()); 630 result = base->hasProperty (exec, property.asUInt32());630 result = base->hasPropertyGeneric(exec, property.asUInt32(), PropertySlot::InternalMethodType::GetOwnProperty); 631 631 } 632 632 RETURN(jsBoolean(result));
Note:
See TracChangeset
for help on using the changeset viewer.