Remove Heap::setMarked()
[WebKit-https.git] / Source / JavaScriptCore / heap / LargeAllocation.h
index cf353b0..b2bd91f 100644 (file)
@@ -71,6 +71,8 @@ public:
     bool isNewlyAllocated() const { return m_isNewlyAllocated; }
     ALWAYS_INLINE bool isMarked() { return m_isMarked.load(std::memory_order_relaxed); }
     bool isMarkedOrNewlyAllocated() { return isMarked() || isNewlyAllocated(); }
+    bool isMarkedOrNewlyAllocated(HeapCell*) { return isMarkedOrNewlyAllocated(); }
+    bool isMarkedOrNewlyAllocatedDuringWeakVisiting(HeapVersion, HeapCell*) { return isMarkedOrNewlyAllocated(); }
     bool isLive() { return isMarkedOrNewlyAllocated(); }
     
     bool hasValidCell() const { return m_hasValidCell; }
@@ -105,7 +107,7 @@ public:
     const AllocatorAttributes& attributes() const { return m_attributes; }
     
     void flipIfNecessary(uint64_t) { }
-    void flipIfNecessaryConcurrently(uint64_t) { }
+    void flipIfNecessaryDuringMarking(uint64_t) { }
     
     ALWAYS_INLINE bool testAndSetMarked()
     {
@@ -117,7 +119,6 @@ public:
         return !m_isMarked.compareExchangeStrong(false, true);
     }
     ALWAYS_INLINE bool testAndSetMarked(HeapCell*) { return testAndSetMarked(); }
-    void setMarked() { m_isMarked.store(true); }
     void clearMarked() { m_isMarked.store(false); }
     
     void noteMarked() { }