Bug 1561296 - Fix occurences of gray spelled as grey r=allstarschh DONTBUILD

Differential Revision: https://phabricator.services.mozilla.com/D35804
This commit is contained in:
Jon Coppeard 2019-06-25 15:08:53 +01:00
parent e6fe246634
commit 1a625b6d2a
2 changed files with 2 additions and 2 deletions

View File

@ -382,7 +382,7 @@ bool TenuredCell::isInsideZone(JS::Zone* zone) const {
}
if (thing->isMarkedGray()) {
// There shouldn't be anything marked grey unless we're on the main thread.
// There shouldn't be anything marked gray unless we're on the main thread.
MOZ_ASSERT(CurrentThreadCanAccessRuntime(thing->runtimeFromAnyThread()));
if (!JS::RuntimeHeapIsCollecting()) {
JS::UnmarkGrayGCThingRecursively(

View File

@ -5246,7 +5246,7 @@ void GCRuntime::getNextSweepGroup() {
*
* This means that when marking things gray we must not allow marking to leave
* the current compartment group, as that could result in things being marked
* grey when they might subsequently be marked black. To achieve this, when we
* gray when they might subsequently be marked black. To achieve this, when we
* find a cross compartment pointer we don't mark the referent but add it to a
* singly-linked list of incoming gray pointers that is stored with each
* compartment.