From c8b4d12a8f80dd0cf78be7e9ab866b818da05b44 Mon Sep 17 00:00:00 2001 From: Ruchira Sasanka Date: Sun, 30 Sep 2001 23:28:04 +0000 Subject: *** empty log message *** llvm-svn: 675 --- llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'llvm/lib/Analysis') diff --git a/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp b/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp index 898dd28b72d..b9fd0ffbe86 100644 --- a/llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp +++ b/llvm/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 ); -- cgit v1.2.3