Bug 1147670 - Remove duplicate IsMarked/IsAboutToBeFinalized for off-thread use; r=jonco
This commit is contained in:
@@ -255,7 +255,7 @@ JSRuntime::sweepAtoms()
|
||||
for (AtomSet::Enum e(*atoms_); !e.empty(); e.popFront()) {
|
||||
AtomStateEntry entry = e.front();
|
||||
JSAtom* atom = entry.asPtr();
|
||||
bool isDying = IsStringAboutToBeFinalizedFromAnyThread(&atom);
|
||||
bool isDying = IsStringAboutToBeFinalized(&atom);
|
||||
|
||||
/* Pinned or interned key cannot be finalized. */
|
||||
MOZ_ASSERT_IF(hasContexts() && entry.isTagged(), !isDying);
|
||||
|
||||
Reference in New Issue
Block a user