Changeset 55262 in webkit for trunk/JavaScriptCore/runtime/RegExpMatchesArray.h
- Timestamp:
- Feb 25, 2010, 4:22:34 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/runtime/RegExpMatchesArray.h
r53170 r55262 33 33 virtual bool getOwnPropertySlot(ExecState* exec, const Identifier& propertyName, PropertySlot& slot) 34 34 { 35 if ( lazyCreationData())35 if (subclassData()) 36 36 fillArrayInstance(exec); 37 37 return JSArray::getOwnPropertySlot(exec, propertyName, slot); … … 40 40 virtual bool getOwnPropertySlot(ExecState* exec, unsigned propertyName, PropertySlot& slot) 41 41 { 42 if ( lazyCreationData())42 if (subclassData()) 43 43 fillArrayInstance(exec); 44 44 return JSArray::getOwnPropertySlot(exec, propertyName, slot); … … 47 47 virtual bool getOwnPropertyDescriptor(ExecState* exec, const Identifier& propertyName, PropertyDescriptor& descriptor) 48 48 { 49 if ( lazyCreationData())49 if (subclassData()) 50 50 fillArrayInstance(exec); 51 51 return JSArray::getOwnPropertyDescriptor(exec, propertyName, descriptor); … … 54 54 virtual void put(ExecState* exec, const Identifier& propertyName, JSValue v, PutPropertySlot& slot) 55 55 { 56 if ( lazyCreationData())56 if (subclassData()) 57 57 fillArrayInstance(exec); 58 58 JSArray::put(exec, propertyName, v, slot); … … 61 61 virtual void put(ExecState* exec, unsigned propertyName, JSValue v) 62 62 { 63 if ( lazyCreationData())63 if (subclassData()) 64 64 fillArrayInstance(exec); 65 65 JSArray::put(exec, propertyName, v); … … 68 68 virtual bool deleteProperty(ExecState* exec, const Identifier& propertyName) 69 69 { 70 if ( lazyCreationData())70 if (subclassData()) 71 71 fillArrayInstance(exec); 72 72 return JSArray::deleteProperty(exec, propertyName); … … 75 75 virtual bool deleteProperty(ExecState* exec, unsigned propertyName) 76 76 { 77 if ( lazyCreationData())77 if (subclassData()) 78 78 fillArrayInstance(exec); 79 79 return JSArray::deleteProperty(exec, propertyName); … … 82 82 virtual void getOwnPropertyNames(ExecState* exec, PropertyNameArray& arr, EnumerationMode mode = ExcludeDontEnumProperties) 83 83 { 84 if ( lazyCreationData())84 if (subclassData()) 85 85 fillArrayInstance(exec); 86 86 JSArray::getOwnPropertyNames(exec, arr, mode);
Note:
See TracChangeset
for help on using the changeset viewer.