summaryrefslogtreecommitdiff
path: root/js/src/jsweakmap.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/jsweakmap.cpp')
-rw-r--r--js/src/jsweakmap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/js/src/jsweakmap.cpp b/js/src/jsweakmap.cpp
index 3b4579d652..03d1a0847e 100644
--- a/js/src/jsweakmap.cpp
+++ b/js/src/jsweakmap.cpp
@@ -121,7 +121,7 @@ WeakMapBase::restoreMarkedWeakMaps(WeakMapSet& markedWeakMaps)
{
for (WeakMapSet::Range r = markedWeakMaps.all(); !r.empty(); r.popFront()) {
WeakMapBase* map = r.front();
- MOZ_ASSERT(map->zone->isGCMarking());
+ MOZ_ASSERT(map->zone->shouldMarkInZone());
MOZ_ASSERT(!map->marked);
map->marked = true;
}
@@ -144,7 +144,7 @@ ObjectValueMap::findZoneEdges()
if (!delegate)
continue;
Zone* delegateZone = delegate->zone();
- if (delegateZone == zone || !delegateZone->isGCMarking())
+ if (delegateZone == zone || !delegateZone->shouldMarkInZone())
continue;
if (!delegateZone->gcZoneGroupEdges.put(key->zone()))
return false;