Heap::isMarked() shouldn't pay the price of concurrent lazy flipping
[WebKit-https.git] / Source / JavaScriptCore / bytecode / PolymorphicAccess.cpp
index 5caca06..256ca43 100644 (file)
@@ -555,7 +555,7 @@ bool AccessCase::propagateTransitions(SlotVisitor& visitor) const
     
     switch (m_type) {
     case Transition:
-        if (Heap::isMarked(m_structure->previousID()))
+        if (Heap::isMarkedConcurrently(m_structure->previousID()))
             visitor.appendUnbarrieredReadOnlyPointer(m_structure.get());
         else
             result = false;