From eff3ba141887d646fa3217c442b3ffad8308cabe Mon Sep 17 00:00:00 2001 From: Joel Dice Date: Tue, 1 Jan 2008 18:45:23 -0700 Subject: [PATCH] fix thinko in visitDirtyFixies() --- src/heap.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/heap.cpp b/src/heap.cpp index 636d7515fc..89b001678c 100644 --- a/src/heap.cpp +++ b/src/heap.cpp @@ -16,7 +16,7 @@ const unsigned Top = ~static_cast(0); const unsigned InitialGen2CapacityInBytes = 4 * 1024 * 1024; -const bool Verbose = false; +const bool Verbose = true; const bool Verbose2 = false; const bool Debug = false; const bool DebugFixies = false; @@ -1243,6 +1243,7 @@ visitDirtyFixies(Context* c) ++ bit) { unsigned index = indexOf(word, bit); + if (getBit(mask, index)) { wasDirty = true; @@ -1259,6 +1260,7 @@ visitDirtyFixies(Context* c) } } } + bit = 0; } }