From c00f811a2f11bf293209cdb9d5d6c933b81f69d0 Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Thu, 14 Jun 2012 09:58:20 -0600 Subject: [PATCH] initialize count_ from starting point in MyStackWalker(MyStackWalker*) When we're initializing a stack walker based on an existing instance, we should initialize all the fields from that instance, including count_. --- src/compile.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/compile.cpp b/src/compile.cpp index ce67081480..1da37437b9 100644 --- a/src/compile.cpp +++ b/src/compile.cpp @@ -532,7 +532,7 @@ class MyStackWalker: public Processor::StackWalker { method_(w->method_), target(w->target), continuation(w->continuation), - count_(0), + count_(w->count_), protector(this) { }