fix GC safety bug when walking stack

This commit is contained in:
Joel Dice 2009-07-10 08:33:38 -06:00
parent 8335dc4297
commit 22852dcffa

View File

@ -271,7 +271,7 @@ class MyStackWalker: public Processor::StackWalker {
virtual void walk(Processor::StackVisitor* v) {
for (MyStackWalker it(this); it.valid();) {
MyStackWalker walker(it);
MyStackWalker walker(&it);
if (not v->visit(&walker)) {
break;
}