Changeset 96992 in webkit for trunk/Source/JavaScriptCore/runtime/RegExpMatchesArray.h
- Timestamp:
- Oct 7, 2011, 5:06:07 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/runtime/RegExpMatchesArray.h
r95901 r96992 67 67 virtual void put(ExecState* exec, const Identifier& propertyName, JSValue v, PutPropertySlot& slot) 68 68 { 69 if (subclassData()) 70 fillArrayInstance(exec); 71 JSArray::put(exec, propertyName, v, slot); 69 put(this, exec, propertyName, v, slot); 72 70 } 73 71 72 static void put(JSCell* cell, ExecState* exec, const Identifier& propertyName, JSValue v, PutPropertySlot& slot) 73 { 74 RegExpMatchesArray* thisObject = static_cast<RegExpMatchesArray*>(cell); 75 if (thisObject->subclassData()) 76 thisObject->fillArrayInstance(exec); 77 JSArray::put(thisObject, exec, propertyName, v, slot); 78 } 79 74 80 virtual void put(ExecState* exec, unsigned propertyName, JSValue v) 75 81 { 76 if (subclassData()) 77 fillArrayInstance(exec); 78 JSArray::put(exec, propertyName, v); 82 put(this, exec, propertyName, v); 83 } 84 85 static void put(JSCell* cell, ExecState* exec, unsigned propertyName, JSValue v) 86 { 87 RegExpMatchesArray* thisObject = static_cast<RegExpMatchesArray*>(cell); 88 if (thisObject->subclassData()) 89 thisObject->fillArrayInstance(exec); 90 JSArray::put(thisObject, exec, propertyName, v); 79 91 } 80 92
Note:
See TracChangeset
for help on using the changeset viewer.