From 7f9870dac716406fed675e768e537abc8ac41e18 Mon Sep 17 00:00:00 2001
From: clc5q <clc5q@git.zephyr-software.com>
Date: Tue, 8 Apr 2008 21:31:18 +0000
Subject: [PATCH] Initialize Processed flag in constructor.

---
 SMPBasicBlock.cpp | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/SMPBasicBlock.cpp b/SMPBasicBlock.cpp
index 2b688f15..73ba27d0 100644
--- a/SMPBasicBlock.cpp
+++ b/SMPBasicBlock.cpp
@@ -29,7 +29,7 @@
 #include "SMPFunction.h"
 
 #define SMP_DEBUG_DATAFLOW 0
-#define SMP_DEBUG_OPTIMIZATIONS 1
+#define SMP_DEBUG_OPTIMIZATIONS 0
 
 // Basic block number 0 is the top of the CFG lattice.
 #define SMP_TOP_BLOCK 0 
@@ -43,6 +43,7 @@ SMPBasicBlock::SMPBasicBlock(SMPFunction *Func, list<SMPInstr>::iterator First,
 	this->IndirectJump = false;
 	this->Returns = false;
 	this->SharedTailChunk = false;
+	this->Processed = false;
 	this->BlockNum = SMP_BLOCKNUM_UNINIT;
 	this->FirstAddr = First->GetAddr();
 	this->MyFunc = Func;
-- 
GitLab