Fix incorrect debug code

llvm-svn: 11821
This commit is contained in:
Chris Lattner 2004-02-25 15:15:04 +00:00
parent 309327a4b5
commit 9c6833c5ca
1 changed files with 2 additions and 1 deletions

View File

@ -115,7 +115,8 @@ BasicBlock* LowerSwitch::switchConvert(CaseItr Begin, CaseItr End,
Case& Pivot = *(Begin + Mid); Case& Pivot = *(Begin + Mid);
DEBUG(std::cerr << "Pivot ==> " DEBUG(std::cerr << "Pivot ==> "
<< cast<ConstantUInt>(Pivot.first)->getValue() << "\n"); << (int64_t)cast<ConstantInt>(Pivot.first)->getRawValue()
<< "\n");
BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val, BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val,
OrigBlock, Default); OrigBlock, Default);