Changeset 97002 in webkit for trunk/Source/JavaScriptCore/runtime/RegExpMatchesArray.h
- Timestamp:
- Oct 7, 2011, 11:37:45 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/RegExpMatchesArray.h
r96992 r97002 93 93 virtual bool deleteProperty(ExecState* exec, const Identifier& propertyName) 94 94 { 95 if (subclassData()) 96 fillArrayInstance(exec); 97 return JSArray::deleteProperty(exec, propertyName); 95 return deleteProperty(this, exec, propertyName); 96 } 97 98 static bool deleteProperty(JSCell* cell, ExecState* exec, const Identifier& propertyName) 99 { 100 RegExpMatchesArray* thisObject = static_cast<RegExpMatchesArray*>(cell); 101 if (thisObject->subclassData()) 102 thisObject->fillArrayInstance(exec); 103 return JSArray::deleteProperty(thisObject, exec, propertyName); 98 104 } 99 105 100 106 virtual bool deleteProperty(ExecState* exec, unsigned propertyName) 101 107 { 102 if (subclassData()) 103 fillArrayInstance(exec); 104 return JSArray::deleteProperty(exec, propertyName); 108 return deleteProperty(this, exec, propertyName); 109 } 110 111 static bool deleteProperty(JSCell* cell, ExecState* exec, unsigned propertyName) 112 { 113 RegExpMatchesArray* thisObject = static_cast<RegExpMatchesArray*>(cell); 114 if (thisObject->subclassData()) 115 thisObject->fillArrayInstance(exec); 116 return JSArray::deleteProperty(thisObject, exec, propertyName); 105 117 } 106 118
Note:
See TracChangeset
for help on using the changeset viewer.