Changeset 197144 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Feb 25, 2016, 4:15:58 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r197136 r197144 1281 1281 bool JSObject::hasProperty(ExecState* exec, PropertyName propertyName) const 1282 1282 { 1283 PropertySlot slot(this, PropertySlot::InternalMethodType::HasProperty); 1283 return hasPropertyGeneric(exec, propertyName, PropertySlot::InternalMethodType::HasProperty); 1284 } 1285 1286 bool JSObject::hasProperty(ExecState* exec, unsigned propertyName) const 1287 { 1288 return hasPropertyGeneric(exec, propertyName, PropertySlot::InternalMethodType::HasProperty); 1289 } 1290 1291 bool JSObject::hasPropertyGeneric(ExecState* exec, PropertyName propertyName, PropertySlot::InternalMethodType internalMethodType) const 1292 { 1293 PropertySlot slot(this, internalMethodType); 1284 1294 return const_cast<JSObject*>(this)->getPropertySlot(exec, propertyName, slot); 1285 1295 } 1286 1296 1287 bool JSObject::hasProperty (ExecState* exec, unsigned propertyName) const1288 { 1289 PropertySlot slot(this, PropertySlot::InternalMethodType::HasProperty);1297 bool JSObject::hasPropertyGeneric(ExecState* exec, unsigned propertyName, PropertySlot::InternalMethodType internalMethodType) const 1298 { 1299 PropertySlot slot(this, internalMethodType); 1290 1300 return const_cast<JSObject*>(this)->getPropertySlot(exec, propertyName, slot); 1291 1301 }
Note:
See TracChangeset
for help on using the changeset viewer.