Bug 1159428 - Use Value and Id type-based dispatching to simplify barriers; r=jonco

This commit is contained in:
Terrence Cole
2015-04-30 11:29:43 -07:00
parent 690772f583
commit d8977d33c2
5 changed files with 42 additions and 153 deletions

View File

@@ -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