diff --git a/js/src/gc/Verifier.cpp b/js/src/gc/Verifier.cpp index 5a78a1ebd1b..ff6aa2a3651 100644 --- a/js/src/gc/Verifier.cpp +++ b/js/src/gc/Verifier.cpp @@ -58,7 +58,7 @@ CheckStackRoot(JSRuntime *rt, uintptr_t *w, Rooter *begin, Rooter *end) return; /* Don't check atoms as these will never be subject to generational collection. */ - if (static_cast(thing)->zone() == rt->atomsCompartment->zone()) + if (static_cast(thing)->tenuredZone() == rt->atomsCompartment->zone()) return; /*