Bug 1068223 - Clean up the Cell hierarchy; r=jonco

This commit is contained in:
Terrence Cole
2014-09-17 10:32:37 -07:00
parent 902dedc881
commit 020442a721
40 changed files with 474 additions and 416 deletions

View File

@@ -176,7 +176,7 @@ ObjectValueMap::findZoneEdges()
Zone *mapZone = compartment->zone();
for (Range r = all(); !r.empty(); r.popFront()) {
JSObject *key = r.front().key();
if (key->isMarked(BLACK) && !key->isMarked(GRAY))
if (key->asTenured()->isMarked(BLACK) && !key->asTenured()->isMarked(GRAY))
continue;
JSWeakmapKeyDelegateOp op = key->getClass()->ext.weakmapKeyDelegateOp;
if (!op)