diff options
Diffstat (limited to '')
-rw-r--r-- | js/src/gc/GCParallelTask.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/js/src/gc/GCParallelTask.h b/js/src/gc/GCParallelTask.h index 9ac51d02be..88e0ad6255 100644 --- a/js/src/gc/GCParallelTask.h +++ b/js/src/gc/GCParallelTask.h @@ -161,8 +161,6 @@ class GCParallelTask : private mozilla::LinkedListElement<GCParallelTask>, void joinWithLockHeld( AutoLockHelperThreadState& lock, mozilla::Maybe<mozilla::TimeStamp> deadline = mozilla::Nothing()); - void joinNonIdleTask(mozilla::Maybe<mozilla::TimeStamp> deadline, - AutoLockHelperThreadState& lock); // Instead of dispatching to a helper, run the task on the current thread. void runFromMainThread(); @@ -247,6 +245,9 @@ class GCParallelTask : private mozilla::LinkedListElement<GCParallelTask>, } friend class gc::GCRuntime; + void joinNonIdleTask(mozilla::Maybe<mozilla::TimeStamp> deadline, + AutoLockHelperThreadState& lock); + void runTask(JS::GCContext* gcx, AutoLockHelperThreadState& lock); // Implement the HelperThreadTask interface. |