From aca997cbd70e31800137df2503a2bacd22a1c46f Mon Sep 17 00:00:00 2001 From: Ruchira Sasanka Date: Sun, 30 Sep 2001 23:28:04 +0000 Subject: [PATCH] *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@675 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp | 5 +++-- lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp b/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp index 898dd28b72d..b9fd0ffbe86 100644 --- a/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp +++ b/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp @@ -52,9 +52,10 @@ void MethodLiveVarInfo::constructBBs() for( ; BBI != po_end(Meth) ; ++BBI, ++POId) { - if(DEBUG_LV) cout << " For BB " << (*BBI)->getName() << ":" << endl ; - const BasicBlock *BB = *BBI; // get the current BB + + if(DEBUG_LV) { cout << " For BB "; printValue(BB); cout << ":" << endl; } + // create a new BBLiveVar BBLiveVar * LVBB = new BBLiveVar( BB, POId ); diff --git a/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp b/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp index 898dd28b72d..b9fd0ffbe86 100644 --- a/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp +++ b/lib/Target/SparcV9/LiveVar/FunctionLiveVarInfo.cpp @@ -52,9 +52,10 @@ void MethodLiveVarInfo::constructBBs() for( ; BBI != po_end(Meth) ; ++BBI, ++POId) { - if(DEBUG_LV) cout << " For BB " << (*BBI)->getName() << ":" << endl ; - const BasicBlock *BB = *BBI; // get the current BB + + if(DEBUG_LV) { cout << " For BB "; printValue(BB); cout << ":" << endl; } + // create a new BBLiveVar BBLiveVar * LVBB = new BBLiveVar( BB, POId );