From 0fd8dc809975e6ac13fec7d2459d8d387e05a1fa Mon Sep 17 00:00:00 2001 From: Ruchira Sasanka Date: Thu, 18 Oct 2001 23:58:08 +0000 Subject: [PATCH] no major change git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@914 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/RegAlloc/PhyRegAlloc.cpp | 6 ++++-- 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 acf6585779e..4b6a0f96505 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 acf6585779e..4b6a0f96505 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) { -- 2.34.1