From 22852dcffa665b890f7430409abb9709c4e10ca7 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Fri, 10 Jul 2009 08:33:38 -0600 Subject: [PATCH] fix GC safety bug when walking stack --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index 947a2a9fe3..ee41dd9cb7 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -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; }