void js::gc::AssertSafeToSkipBarrier(TenuredCell* thing) { Zone* zone = thing->zoneFromAnyThread(); MOZ_ASSERT(!zone->needsIncrementalBarrier() || zone->isAtomsZone()); }