From 9f14d635922565b63ca7bb07af5cf39dc8c7f0f2 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 24 Nov 2009 19:15:27 -0700 Subject: [PATCH] initialize MyProcessor::getStackTrace::Visitor::trace in case visit is never called --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index aeb5e3722b..bb9f699584 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -7260,7 +7260,7 @@ class MyProcessor: public Processor { class Visitor: public System::ThreadVisitor { public: Visitor(MyThread* t, MyProcessor* p, MyThread* target): - t(t), p(p), target(target) + t(t), p(p), target(target), trace(0) { } virtual void visit(void* ip, void* base, void* stack) {