diff --git a/js/src/jsgc.cpp b/js/src/jsgc.cpp index 13328cb29a6a..78994536a37f 100644 --- a/js/src/jsgc.cpp +++ b/js/src/jsgc.cpp @@ -286,7 +286,7 @@ ArenaHeader::checkSynchronizedWithFreeList() const bool js::gc::Cell::isTenured() const { - return true; + return !IsInsideNursery(runtime(), this); } #endif