summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMoonchild <moonchild@palemoon.org>2023-06-28 19:54:07 +0200
committerMoonchild <moonchild@palemoon.org>2023-06-28 19:54:07 +0200
commit1a3f3da99d469cfbccacae06f2acefb627c348f0 (patch)
treeb32855245f217eda3bc3551589b24772bc88b09d
parentb238bb079fae25afd0d06d3b14ab84b2ba7f9175 (diff)
downloaduxp-1a3f3da99d469cfbccacae06f2acefb627c348f0.tar.gz
Fix debug builds
-rw-r--r--js/src/gc/Allocator.cpp2
-rw-r--r--js/src/gc/Marking.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/js/src/gc/Allocator.cpp b/js/src/gc/Allocator.cpp
index 115a131127..8ecdd49a5b 100644
--- a/js/src/gc/Allocator.cpp
+++ b/js/src/gc/Allocator.cpp
@@ -254,7 +254,7 @@ GCRuntime::checkIncrementalZoneState(ExclusiveContext* cx, T* t)
return;
Zone* zone = cx->asJSContext()->zone();
- MOZ_ASSERT_IF(t && zone->wasGCStarted() && (zone->isGCMarking() || zone->isGCSweeping()),
+ MOZ_ASSERT_IF(t && zone->wasGCStarted() && (zone->shouldMarkInZone() || zone->isGCSweeping()),
t->asTenured().arena()->allocatedDuringIncremental);
#endif
}
diff --git a/js/src/gc/Marking.cpp b/js/src/gc/Marking.cpp
index bf40f0bdda..42c872a1da 100644
--- a/js/src/gc/Marking.cpp
+++ b/js/src/gc/Marking.cpp
@@ -730,7 +730,7 @@ GCMarker::markImplicitEdgesHelper(T markedThing)
return;
Zone* zone = gc::TenuredCell::fromPointer(markedThing)->zone();
- MOZ_ASSERT(zone->isGCMarking());
+ MOZ_ASSERT(zone->shouldMarkInZone());
MOZ_ASSERT(!zone->isGCSweeping());
auto p = zone->gcWeakKeys.get(JS::GCCellPtr(markedThing));