mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-05 23:38:38 +09:00
Fix debug builds
This commit is contained in:
parent
24b1a0f166
commit
890e1eb84d
2 changed files with 2 additions and 2 deletions
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue