]> git.saurik.com Git - apple/javascriptcore.git/blobdiff - runtime/Collector.h
JavaScriptCore-721.26.tar.gz
[apple/javascriptcore.git] / runtime / Collector.h
index 6599652035902be5637d23b2686cbee9bd3703c6..12893a3e60903d7b08fa1031cef8ad4cdac0b73a 100644 (file)
@@ -22,6 +22,7 @@
 #ifndef Collector_h
 #define Collector_h
 
+#include "JSValue.h"
 #include <stddef.h>
 #include <string.h>
 #include <wtf/HashCountedSet.h>
@@ -115,6 +116,9 @@ namespace JSC {
 
         void markConservatively(MarkStack&, void* start, void* end);
 
+        void pushTempSortVector(WTF::Vector<ValueStringPair>*);
+        void popTempSortVector(WTF::Vector<ValueStringPair>*);        
+
         HashSet<MarkedArgumentBuffer*>& markListSet() { if (!m_markListSet) m_markListSet = new HashSet<MarkedArgumentBuffer*>; return *m_markListSet; }
 
         JSGlobalData* globalData() const { return m_globalData; }
@@ -150,6 +154,7 @@ namespace JSC {
 
         void markRoots();
         void markProtectedObjects(MarkStack&);
+        void markTempSortVectors(MarkStack&);
         void markCurrentThreadConservatively(MarkStack&);
         void markCurrentThreadConservativelyInternal(MarkStack&);
         void markOtherThreadConservatively(MarkStack&, Thread*);
@@ -160,6 +165,7 @@ namespace JSC {
         CollectorHeap m_heap;
 
         ProtectCountSet m_protectedValues;
+        WTF::Vector<WTF::Vector<ValueStringPair>* > m_tempSortingVectors;
 
         HashSet<MarkedArgumentBuffer*>* m_markListSet;