mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-09-30 12:27:29 +09:00
Remove isVerifyPreBarriersEnabled() stub and callers
This commit is contained in:
parent
1961d5b1b1
commit
a2355a9bc6
4 changed files with 2 additions and 6 deletions
|
|
@ -838,8 +838,6 @@ class GCRuntime
|
|||
AutoMaybeStartBackgroundAllocation& maybeStartBGAlloc);
|
||||
void recycleChunk(Chunk* chunk, const AutoLockGC& lock);
|
||||
|
||||
bool isVerifyPreBarriersEnabled() const { return false; }
|
||||
|
||||
// Free certain LifoAlloc blocks when it is safe to do so.
|
||||
void freeUnusedLifoBlocksAfterSweeping(LifoAlloc* lifo);
|
||||
void freeAllLifoBlocksAfterSweeping(LifoAlloc* lifo);
|
||||
|
|
|
|||
|
|
@ -188,7 +188,6 @@ void
|
|||
js::Nursery::enable()
|
||||
{
|
||||
MOZ_ASSERT(isEmpty());
|
||||
MOZ_ASSERT(!runtime()->gc.isVerifyPreBarriersEnabled());
|
||||
if (isEnabled())
|
||||
return;
|
||||
|
||||
|
|
|
|||
|
|
@ -6744,7 +6744,7 @@ JS::IsIncrementalGCEnabled(JSContext* cx)
|
|||
JS_PUBLIC_API(bool)
|
||||
JS::IsIncrementalGCInProgress(JSContext* cx)
|
||||
{
|
||||
return cx->gc.isIncrementalGCInProgress() && !cx->gc.isVerifyPreBarriersEnabled();
|
||||
return cx->gc.isIncrementalGCInProgress();
|
||||
}
|
||||
|
||||
JS_PUBLIC_API(bool)
|
||||
|
|
|
|||
|
|
@ -868,8 +868,7 @@ bool
|
|||
JSRuntime::activeGCInAtomsZone()
|
||||
{
|
||||
Zone* zone = atomsCompartment_->zone();
|
||||
return (zone->needsIncrementalBarrier() && !gc.isVerifyPreBarriersEnabled()) ||
|
||||
zone->wasGCStarted();
|
||||
return zone->needsIncrementalBarrier() || zone->wasGCStarted();
|
||||
}
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue