No bug - Fix compile error in jsgc.cpp

This commit is contained in:
Bill McCloskey 2012-11-27 12:04:22 -08:00
parent e662ee9fe1
commit 190e3ac3e2

View File

@ -3896,8 +3896,8 @@ RemoveFromGrayList(RawObject wrapper)
}
while (obj) {
unsigned slot = GrayLinkSlot(o);
RawObject next = o->getReservedSlot(slot).toObjectOrNull();
unsigned slot = GrayLinkSlot(obj);
RawObject next = obj->getReservedSlot(slot).toObjectOrNull();
if (next == wrapper) {
obj->setCrossCompartmentSlot(slot, ObjectOrNullValue(tail));
return true;