Lines Matching refs:GCPolicy
78 struct GCPolicy : public StructGCPolicy<T> {}; struct
88 struct GCPolicy<uint32_t> : public IgnoreGCPolicy<uint32_t> {};
90 struct GCPolicy<uint64_t> : public IgnoreGCPolicy<uint64_t> {};
108 struct GCPolicy<Type> : public GCPointerPolicy<Type> {}; \
110 struct GCPolicy<Type const> : public GCPointerPolicy<Type const> {};
132 struct GCPolicy<JS::Heap<T>> {
143 struct GCPolicy<mozilla::UniquePtr<T, D>> {
147 GCPolicy<T>::trace(trc, tp->get(), name);
152 return GCPolicy<T>::traceWeak(trc, tp->get());
158 return GCPolicy<T>::isValid(*t.get());
165 struct GCPolicy<mozilla::Nothing> : public IgnoreGCPolicy<mozilla::Nothing> {};
170 struct GCPolicy<mozilla::Maybe<T>> {
173 GCPolicy<T>::trace(trc, tp->ptr(), name);
178 return GCPolicy<T>::traceWeak(trc, tp->ptr());
184 return GCPolicy<T>::isValid(t.ref());
191 struct GCPolicy<JS::Realm*>; // see Realm.h