| Index: Source/platform/heap/Heap.cpp
|
| diff --git a/Source/platform/heap/Heap.cpp b/Source/platform/heap/Heap.cpp
|
| index f12a9ba73e03f3b9832b0905c7c82afe196fa0b7..89a7ffa5d3f73507760ac7c63b618f53a7a76407 100644
|
| --- a/Source/platform/heap/Heap.cpp
|
| +++ b/Source/platform/heap/Heap.cpp
|
| @@ -2348,9 +2348,6 @@ void Heap::postGC(ThreadState::GCType gcType)
|
|
|
| void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCType gcType)
|
| {
|
| - ASSERT(!ThreadState::current()->isSweepingInProgress());
|
| - ASSERT(!ThreadState::current()->sweepForbidden());
|
| -
|
| ThreadState* state = ThreadState::current();
|
| ThreadState::GCState originalGCState = state->gcState();
|
| state->setGCState(ThreadState::StoppingOtherThreads);
|
| @@ -2432,9 +2429,6 @@ void Heap::collectGarbage(ThreadState::StackState stackState, ThreadState::GCTyp
|
|
|
| void Heap::collectGarbageForTerminatingThread(ThreadState* state)
|
| {
|
| - ASSERT(!ThreadState::current()->isSweepingInProgress());
|
| - ASSERT(!ThreadState::current()->sweepForbidden());
|
| -
|
| // We explicitly do not enter a safepoint while doing thread specific
|
| // garbage collection since we don't want to allow a global GC at the
|
| // same time as a thread local GC.
|
|
|