From: Ruchira Sasanka Date: Sun, 30 Sep 2001 23:28:04 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=aca997cbd70e31800137df2503a2bacd22a1c46f;p=oota-llvm.git *** empty log message *** git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@675 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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 );