- if (lazyCreationData())
- fillArrayInstance(exec);
- return JSArray::deleteProperty(exec, propertyName);
+ RegExpMatchesArray* thisObject = jsCast<RegExpMatchesArray*>(cell);
+ thisObject->reifyAllPropertiesIfNecessary(exec);
+ JSArray::put(thisObject, exec, propertyName, v, slot);
+ }
+
+ static void putByIndex(JSCell* cell, ExecState* exec, unsigned propertyName, JSValue v, bool shouldThrow)
+ {
+ RegExpMatchesArray* thisObject = jsCast<RegExpMatchesArray*>(cell);
+ thisObject->reifyAllPropertiesIfNecessary(exec);
+ JSArray::putByIndex(thisObject, exec, propertyName, v, shouldThrow);
+ }
+
+ static bool deleteProperty(JSCell* cell, ExecState* exec, PropertyName propertyName)
+ {
+ RegExpMatchesArray* thisObject = jsCast<RegExpMatchesArray*>(cell);
+ thisObject->reifyAllPropertiesIfNecessary(exec);
+ return JSArray::deleteProperty(thisObject, exec, propertyName);