X-Git-Url: https://git.saurik.com/apple/javascriptcore.git/blobdiff_plain/f9bf01c6616d5ddcf65b13b33cedf9e387ff7a63..b80e619319b1def83d1e8b4f84042b661be1be7f:/runtime/JSArray.h diff --git a/runtime/JSArray.h b/runtime/JSArray.h index ad6ee88..f65f2bc 100644 --- a/runtime/JSArray.h +++ b/runtime/JSArray.h @@ -31,7 +31,7 @@ namespace JSC { unsigned m_length; unsigned m_numValuesInVector; SparseArrayValueMap* m_sparseValueMap; - void* lazyCreationData; // A JSArray subclass can use this to fill the vector lazily. + void* subclassData; // A JSArray subclass can use this to fill the vector lazily. size_t reportedMapCapacity; JSValue m_vector[1]; }; @@ -101,8 +101,8 @@ namespace JSC { virtual void getOwnPropertyNames(ExecState*, PropertyNameArray&, EnumerationMode mode = ExcludeDontEnumProperties); virtual void markChildren(MarkStack&); - void* lazyCreationData(); - void setLazyCreationData(void*); + void* subclassData() const; + void setSubclassData(void*); private: virtual const ClassInfo* classInfo() const { return &info; }