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