projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f2c7b1
)
Fix incorrect debug code
author
Chris Lattner
<sabre@nondot.org>
Wed, 25 Feb 2004 15:15:04 +0000
(15:15 +0000)
committer
Chris Lattner
<sabre@nondot.org>
Wed, 25 Feb 2004 15:15:04 +0000
(15:15 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@11821
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Transforms/Utils/LowerSwitch.cpp
patch
|
blob
|
history
diff --git
a/lib/Transforms/Utils/LowerSwitch.cpp
b/lib/Transforms/Utils/LowerSwitch.cpp
index f6e6886bb50ed6e09673b804e518c98b953b7aab..2238d7b388f40db19226ea8258325ca28b13bed7 100644
(file)
--- 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<ConstantUInt>(Pivot.first)->getValue() << "\n");
+ << (int64_t)cast<ConstantInt>(Pivot.first)->getRawValue()
+ << "\n");
BasicBlock* LBranch = switchConvert(LHS.begin(), LHS.end(), Val,
OrigBlock, Default);