diff options
-rw-r--r-- | lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 6 | ||||
-rw-r--r-- | lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp index acf6585..4b6a0f9 100644 --- a/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp +++ b/lib/CodeGen/RegAlloc/PhyRegAlloc.cpp @@ -128,8 +128,10 @@ void PhyRegAlloc::addInterference(const Value *const Def, //the live range of this var interferes with this call if( isCallInst ) { LROfVar->addCallInterference( (const Instruction *const) Def ); - // cout << "\n ++Added Call Interf to set:"; - //LROfVar->printSet(); + if( DEBUG_RA) { + cout << "\n ++Added Call Interf to set:"; + LROfVar->printSet(); + } } } else if(DEBUG_RA > 1) { diff --git a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp index acf6585..4b6a0f9 100644 --- a/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp +++ b/lib/Target/SparcV9/RegAlloc/PhyRegAlloc.cpp @@ -128,8 +128,10 @@ void PhyRegAlloc::addInterference(const Value *const Def, //the live range of this var interferes with this call if( isCallInst ) { LROfVar->addCallInterference( (const Instruction *const) Def ); - // cout << "\n ++Added Call Interf to set:"; - //LROfVar->printSet(); + if( DEBUG_RA) { + cout << "\n ++Added Call Interf to set:"; + LROfVar->printSet(); + } } } else if(DEBUG_RA > 1) { |