Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8
This commit is contained in:
@@ -189,7 +189,7 @@ JSRuntime::finishAtoms()
|
||||
void
|
||||
js::MarkAtoms(JSTracer *trc)
|
||||
{
|
||||
JSRuntime *rt = trc->runtime;
|
||||
JSRuntime *rt = trc->runtime();
|
||||
for (AtomSet::Enum e(rt->atoms()); !e.empty(); e.popFront()) {
|
||||
const AtomStateEntry &entry = e.front();
|
||||
if (!entry.isTagged())
|
||||
@@ -206,7 +206,7 @@ js::MarkAtoms(JSTracer *trc)
|
||||
void
|
||||
js::MarkPermanentAtoms(JSTracer *trc)
|
||||
{
|
||||
JSRuntime *rt = trc->runtime;
|
||||
JSRuntime *rt = trc->runtime();
|
||||
|
||||
// Permanent atoms only need to be marked in the runtime which owns them.
|
||||
if (rt->parentRuntime)
|
||||
|
||||
Reference in New Issue
Block a user