Changeset 97002 in webkit for trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
- Timestamp:
- Oct 7, 2011, 11:37:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/JSFunction.cpp
r96996 r97002 330 330 bool JSFunction::deleteProperty(ExecState* exec, const Identifier& propertyName) 331 331 { 332 if (isHostFunction()) 333 return Base::deleteProperty(exec, propertyName); 332 return deleteProperty(this, exec, propertyName); 333 } 334 335 bool JSFunction::deleteProperty(JSCell* cell, ExecState* exec, const Identifier& propertyName) 336 { 337 JSFunction* thisObject = static_cast<JSFunction*>(cell); 338 if (thisObject->isHostFunction()) 339 return Base::deleteProperty(thisObject, exec, propertyName); 334 340 if (propertyName == exec->propertyNames().arguments || propertyName == exec->propertyNames().length) 335 341 return false; 336 return Base::deleteProperty( exec, propertyName);342 return Base::deleteProperty(thisObject, exec, propertyName); 337 343 } 338 344
Note:
See TracChangeset
for help on using the changeset viewer.