2008-09-15 Maciej Stachowiak <mjs@apple.com>
[WebKit.git] / JavaScriptCore / kjs / StructureID.h
index 9e770c6dad7da9ddaf4f4dc1494aeba166ab8e36..5e2d0ff5920488a98b363a56a278530c6e8e7368 100644 (file)
@@ -112,6 +112,8 @@ namespace JSC {
 
         static void transitionTo(StructureID* oldStructureID, StructureID* newStructureID, JSObject* slotBase);
 
+        void clearEnumerationCache() { m_cachedPropertyNameArray.clear(); }
+
     private:
         typedef std::pair<RefPtr<UString::Rep>, unsigned> TransitionTableKey;
         typedef HashMap<TransitionTableKey, StructureID*, TransitionTableHash, TransitionTableHashTraits> TransitionTable;