Bug 1716247 - Remove dead code from GC rooting API. r=sfink

Differential Revision: https://phabricator.services.mozilla.com/D117603
This commit is contained in:
Ted Campbell 2021-07-08 23:48:07 +00:00
parent 41b6fc2de4
commit 498eb65932

View File

@ -151,13 +151,8 @@ JS_FOR_EACH_PUBLIC_GC_POINTER_TYPE(DECLARE_IS_HEAP_CONSTRUCTIBLE_TYPE)
JS_FOR_EACH_PUBLIC_TAGGED_GC_POINTER_TYPE(DECLARE_IS_HEAP_CONSTRUCTIBLE_TYPE)
#undef DECLARE_IS_HEAP_CONSTRUCTIBLE_TYPE
template <typename T, typename Wrapper>
class PersistentRootedBase : public MutableWrappedPtrOperations<T, Wrapper> {};
namespace gc {
struct Cell;
template <typename T>
struct PersistentRootedMarker;
} /* namespace gc */
// Important: Return a reference so passing a Rooted<T>, etc. to