mirror of
https://repo.dactyloidae.xyz/Dactyloidae/UXP.git
synced 2026-10-18 13:17:29 +09:00
Whitespaces, typo, tabs to space
Remove whitespaces, correct comment typo, one more tab to space
This commit is contained in:
parent
297f99b0bf
commit
b584107330
2 changed files with 7 additions and 7 deletions
|
|
@ -3578,7 +3578,7 @@ ShouldCollectZone(Zone* zone, JS::gcreason::Reason reason)
|
||||||
return zone->isGCScheduled();
|
return zone->isGCScheduled();
|
||||||
|
|
||||||
// If we are repeating a GC becuase we noticed dead compartments haven't
|
// If we are repeating a GC becuase we noticed dead compartments haven't
|
||||||
// been collected, then only collect zones contianing those compartments.
|
// been collected, then only collect zones containing those compartments.
|
||||||
for (CompartmentsInZoneIter comp(zone); !comp.done(); comp.next()) {
|
for (CompartmentsInZoneIter comp(zone); !comp.done(); comp.next()) {
|
||||||
if (comp->scheduledForDestruction)
|
if (comp->scheduledForDestruction)
|
||||||
return true;
|
return true;
|
||||||
|
|
@ -5508,8 +5508,8 @@ gc::IsIncrementalGCUnsafe(JSRuntime* rt)
|
||||||
{
|
{
|
||||||
MOZ_ASSERT(!rt->mainThread.suppressGC);
|
MOZ_ASSERT(!rt->mainThread.suppressGC);
|
||||||
|
|
||||||
if (rt->keepAtoms())
|
if (rt->keepAtoms())
|
||||||
return gc::AbortReason::KeepAtomsSet;
|
return gc::AbortReason::KeepAtomsSet;
|
||||||
|
|
||||||
if (!rt->gc.isIncrementalGCAllowed())
|
if (!rt->gc.isIncrementalGCAllowed())
|
||||||
return gc::AbortReason::IncrementalDisabled;
|
return gc::AbortReason::IncrementalDisabled;
|
||||||
|
|
@ -5519,7 +5519,7 @@ gc::IsIncrementalGCUnsafe(JSRuntime* rt)
|
||||||
|
|
||||||
void
|
void
|
||||||
GCRuntime::budgetIncrementalGC(JS::gcreason::Reason reason, SliceBudget& budget,
|
GCRuntime::budgetIncrementalGC(JS::gcreason::Reason reason, SliceBudget& budget,
|
||||||
AutoLockForExclusiveAccess& lock)
|
AutoLockForExclusiveAccess& lock)
|
||||||
{
|
{
|
||||||
AbortReason unsafeReason = IsIncrementalGCUnsafe(rt);
|
AbortReason unsafeReason = IsIncrementalGCUnsafe(rt);
|
||||||
if (unsafeReason == AbortReason::None) {
|
if (unsafeReason == AbortReason::None) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue