Bug 807168 - Make JSTracer into a real C++ class and kill the macro accessors; r=jonco,mccr8

This commit is contained in:
Terrence Cole
2014-04-11 15:19:05 -07:00
parent bd71ab6857
commit f705d32ae7
49 changed files with 495 additions and 405 deletions

View File

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