fix thinko in visitRoots()

This commit is contained in:
Joel Dice 2007-06-21 17:23:43 -06:00
parent c1d70499c2
commit 3238b34723

View File

@ -231,7 +231,7 @@ visitRoots(Thread* t, Heap::Visitor* v)
v->visit(&(t->exception));
for (unsigned i = 0; i < t->sp; ++i) {
v->visit(t->stack + t->sp);
v->visit(t->stack + i);
}
for (Thread::Protector* p = t->protector; p; p = p->next) {