mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-25 08:37:30 +09:00
Remove AutoStopVerifyingBarriers RAII stub struct no longer in use.
This commit is contained in:
parent
344da7aee8
commit
10e8869a61
3 changed files with 0 additions and 9 deletions
|
|
@ -61,11 +61,6 @@ class MOZ_RAII AutoPrepareForTracing
|
||||||
AbortReason
|
AbortReason
|
||||||
IsIncrementalGCUnsafe(JSRuntime* rt);
|
IsIncrementalGCUnsafe(JSRuntime* rt);
|
||||||
|
|
||||||
struct MOZ_RAII AutoStopVerifyingBarriers
|
|
||||||
{
|
|
||||||
AutoStopVerifyingBarriers(JSRuntime*, bool) {}
|
|
||||||
};
|
|
||||||
|
|
||||||
#ifdef JSGC_HASH_TABLE_CHECKS
|
#ifdef JSGC_HASH_TABLE_CHECKS
|
||||||
void CheckHashTablesAfterMovingGC(JSRuntime* rt);
|
void CheckHashTablesAfterMovingGC(JSRuntime* rt);
|
||||||
void CheckHeapAfterGC(JSRuntime* rt);
|
void CheckHeapAfterGC(JSRuntime* rt);
|
||||||
|
|
|
||||||
|
|
@ -596,7 +596,6 @@ js::Nursery::doCollection(JSRuntime* rt, JS::gcreason::Reason reason,
|
||||||
{
|
{
|
||||||
AutoTraceSession session(rt, JS::HeapState::MinorCollecting);
|
AutoTraceSession session(rt, JS::HeapState::MinorCollecting);
|
||||||
AutoSetThreadIsPerformingGC performingGC;
|
AutoSetThreadIsPerformingGC performingGC;
|
||||||
AutoStopVerifyingBarriers av(rt, false);
|
|
||||||
AutoDisableProxyCheck disableStrictProxyChecking(rt);
|
AutoDisableProxyCheck disableStrictProxyChecking(rt);
|
||||||
mozilla::DebugOnly<AutoEnterOOMUnsafeRegion> oomUnsafeRegion;
|
mozilla::DebugOnly<AutoEnterOOMUnsafeRegion> oomUnsafeRegion;
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1153,7 +1153,6 @@ GCRuntime::setMarkStackLimit(size_t limit, AutoLockGC& lock)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(!rt->isHeapBusy());
|
MOZ_ASSERT(!rt->isHeapBusy());
|
||||||
AutoUnlockGC unlock(lock);
|
AutoUnlockGC unlock(lock);
|
||||||
AutoStopVerifyingBarriers pauseVerification(rt, false);
|
|
||||||
marker.setMaxCapacity(limit);
|
marker.setMaxCapacity(limit);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
@ -5799,7 +5798,6 @@ GCRuntime::collect(bool nonincrementalByAPI, SliceBudget budget, JS::gcreason::R
|
||||||
return;
|
return;
|
||||||
|
|
||||||
AutoTraceLog logGC(TraceLoggerForMainThread(rt), TraceLogger_GC);
|
AutoTraceLog logGC(TraceLoggerForMainThread(rt), TraceLogger_GC);
|
||||||
AutoStopVerifyingBarriers av(rt, IsShutdownGC(reason));
|
|
||||||
AutoEnqueuePendingParseTasksAfterGC aept(*this);
|
AutoEnqueuePendingParseTasksAfterGC aept(*this);
|
||||||
AutoScheduleZonesForGC asz(rt);
|
AutoScheduleZonesForGC asz(rt);
|
||||||
|
|
||||||
|
|
@ -5915,7 +5913,6 @@ GCRuntime::abortGC()
|
||||||
checkCanCallAPI();
|
checkCanCallAPI();
|
||||||
MOZ_ASSERT(!rt->mainThread.suppressGC);
|
MOZ_ASSERT(!rt->mainThread.suppressGC);
|
||||||
|
|
||||||
AutoStopVerifyingBarriers av(rt, false);
|
|
||||||
AutoEnqueuePendingParseTasksAfterGC aept(*this);
|
AutoEnqueuePendingParseTasksAfterGC aept(*this);
|
||||||
|
|
||||||
gcstats::AutoGCSlice agc(stats, scanZonesBeforeGC(), invocationKind,
|
gcstats::AutoGCSlice agc(stats, scanZonesBeforeGC(), invocationKind,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue