From: Chris Lattner Date: Wed, 25 Feb 2004 15:15:04 +0000 (+0000) Subject: Fix incorrect debug code X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=940ff563f716c528e242caa9af06dd02407b41d0;p=oota-llvm.git Fix incorrect debug code git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11821 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Transforms/Utils/LowerSwitch.cpp b/lib/Transforms/Utils/LowerSwitch.cpp index f6e6886bb50..2238d7b388f 100644 --- a/lib/Transforms/Utils/LowerSwitch.cpp +++ b/lib/Transforms/Utils/LowerSwitch.cpp @@ -115,7 +115,8 @@ BasicBlock* LowerSwitch::switchConvert(CaseItr Begin, CaseItr End, Case& Pivot = *(Begin + Mid); DEBUG(std::cerr << "Pivot ==> " - << cast(Pivot.first)->getValue() << "\n"); + << (int64_t)cast(Pivot.first)->getRawValue() + << "\n"); BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val, OrigBlock, Default);