Index: Source/platform/heap/ThreadState.cpp |
diff --git a/Source/platform/heap/ThreadState.cpp b/Source/platform/heap/ThreadState.cpp |
index b7487b791a4c72dad3cca2457ffae9c1603865c8..fb3061f56e3381ea5b25ba375bc969e1aa2da6e7 100644 |
--- a/Source/platform/heap/ThreadState.cpp |
+++ b/Source/platform/heap/ThreadState.cpp |
@@ -756,7 +756,7 @@ void ThreadState::setGCState(GCState gcState) |
switch (gcState) { |
case NoGCScheduled: |
checkThread(); |
- RELEASE_ASSERT(m_gcState == Sweeping || m_gcState == SweepingAndIdleGCScheduled); |
+ RELEASE_ASSERT(m_gcState == StoppingOtherThreads || m_gcState == Sweeping || m_gcState == SweepingAndIdleGCScheduled); |
break; |
case IdleGCScheduled: |
case PreciseGCScheduled: |