diff options
| author | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-09-30 23:28:04 +0000 |
|---|---|---|
| committer | Ruchira Sasanka <sasanka@students.uiuc.edu> | 2001-09-30 23:28:04 +0000 |
| commit | c8b4d12a8f80dd0cf78be7e9ab866b818da05b44 (patch) | |
| tree | ebc73e8f98f9608a9e697f85567f6b4f498942a7 | |
| parent | 8a18706055a03a87b18f300f7f2e363388a8b86e (diff) | |
| download | bcm5719-llvm-c8b4d12a8f80dd0cf78be7e9ab866b818da05b44.tar.gz bcm5719-llvm-c8b4d12a8f80dd0cf78be7e9ab866b818da05b44.zip | |
*** empty log message ***
llvm-svn: 675
| -rw-r--r-- | llvm/lib/Analysis/LiveVar/FunctionLiveVarInfo.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
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 ); |

