| Index: Source/platform/heap/ThreadState.h
|
| diff --git a/Source/platform/heap/ThreadState.h b/Source/platform/heap/ThreadState.h
|
| index 91183774f9c10c9ea4f3777273cc76961abaa85a..b627a1b4e806d3f0a70af7e5d2b344a4483bcd1a 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);
|
|
|
|
|