| Index: Source/platform/heap/ThreadState.h
|
| diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
|
| index 9bdb5a769386902407963e368c1702fb8e835b0e..5307e79e5f4a0dc56f7a2e063b2d43f2f5648e4f 100644
|
| --- a/Source/platform/heap/ThreadState.h
|
| +++ b/Source/platform/heap/ThreadState.h
|
| @@ -343,6 +343,11 @@ public:
|
| return gcState() == Sweeping || gcState() == SweepingAndPreciseGCScheduled || gcState() == SweepingAndIdleGCScheduled;
|
| }
|
|
|
| + bool isSweepingScheduled() const
|
| + {
|
| + return gcState() == SweepingAndPreciseGCScheduled || gcState() == SweepingAndIdleGCScheduled;
|
| + }
|
| +
|
| void preGC();
|
| void postGC(GCType);
|
|
|
|
|