Changeset 97506 in webkit for trunk/Source/JavaScriptCore/runtime/JSObject.cpp
- Timestamp:
- Oct 14, 2011, 2:18:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSObject.cpp
r97097 r97506 248 248 } 249 249 250 bool JSObject::deleteProperty (ExecState* exec, const Identifier& propertyName)250 bool JSObject::deletePropertyVirtual(ExecState* exec, const Identifier& propertyName) 251 251 { 252 252 return deleteProperty(this, exec, propertyName); … … 281 281 } 282 282 283 bool JSObject::deleteProperty (ExecState* exec, unsigned propertyName)283 bool JSObject::deletePropertyVirtual(ExecState* exec, unsigned propertyName) 284 284 { 285 285 return deleteProperty(this, exec, propertyName); … … 288 288 bool JSObject::deleteProperty(JSCell* cell, ExecState* exec, unsigned propertyName) 289 289 { 290 return static_cast<JSObject*>(cell)->deleteProperty (exec, Identifier::from(exec, propertyName));290 return static_cast<JSObject*>(cell)->deletePropertyVirtual(exec, Identifier::from(exec, propertyName)); 291 291 } 292 292 … … 728 728 if (descriptor.isGenericDescriptor()) { 729 729 if (!current.attributesEqual(descriptor)) { 730 deleteProperty (exec, propertyName);730 deletePropertyVirtual(exec, propertyName); 731 731 putDescriptor(exec, this, propertyName, descriptor, current.attributesWithOverride(descriptor), current); 732 732 } … … 741 741 return false; 742 742 } 743 deleteProperty (exec, propertyName);743 deletePropertyVirtual(exec, propertyName); 744 744 return putDescriptor(exec, this, propertyName, descriptor, current.attributesWithOverride(descriptor), current); 745 745 } … … 769 769 return true; 770 770 } 771 deleteProperty (exec, propertyName);771 deletePropertyVirtual(exec, propertyName); 772 772 return putDescriptor(exec, this, propertyName, descriptor, current.attributesWithOverride(descriptor), current); 773 773 } … … 798 798 return true; 799 799 } 800 deleteProperty (exec, propertyName);800 deletePropertyVirtual(exec, propertyName); 801 801 unsigned attrs = current.attributesWithOverride(descriptor); 802 802 if (descriptor.setter())
Note:
See TracChangeset
for help on using the changeset viewer.