Bug 1159428 - Use Value and Id type-based dispatching to simplify barriers; r=jonco
This commit is contained in:
@@ -7101,7 +7101,7 @@ JS::IncrementalReferenceBarrier(GCCellPtr thing)
|
||||
if (!thing)
|
||||
return;
|
||||
|
||||
if (thing.isString() && StringIsPermanentAtom(thing.toString()))
|
||||
if (thing.isString() && thing.toString()->isPermanentAtom())
|
||||
return;
|
||||
|
||||
#ifdef DEBUG
|
||||
|
||||
Reference in New Issue
Block a user