Fix incorrect debug code

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11821 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-02-25 15:15:04 +00:00
parent 5f2c7b1975
commit 940ff563f7

View File

@ -115,7 +115,8 @@ BasicBlock* LowerSwitch::switchConvert(CaseItr Begin, CaseItr End,
Case& Pivot = *(Begin + Mid);
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,
OrigBlock, Default);