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:
69331f5
)
use more specific cast.
author
Chris Lattner
<sabre@nondot.org>
Thu, 24 Feb 2005 05:26:04 +0000
(
05:26
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 24 Feb 2005 05:26:04 +0000
(
05:26
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20297
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Bytecode/Reader/Reader.cpp
patch
|
blob
|
history
diff --git
a/lib/Bytecode/Reader/Reader.cpp
b/lib/Bytecode/Reader/Reader.cpp
index 6876cf70b53abd96b29f6c96c3b48846301d8675..0b3cadf08598ba342e671f9d7f801a410ac4138d 100644
(file)
--- a/
lib/Bytecode/Reader/Reader.cpp
+++ b/
lib/Bytecode/Reader/Reader.cpp
@@
-711,7
+711,7
@@
void BytecodeReader::ParseInstruction(std::vector<unsigned> &Oprnds,
getBasicBlock(Oprnds[1]),
Oprnds.size()/2-1);
for (unsigned i = 2, e = Oprnds.size(); i != e; i += 2)
- I->addCase(cast<Constant>(getValue(iType, Oprnds[i])),
+ I->addCase(cast<Constant
Int
>(getValue(iType, Oprnds[i])),
getBasicBlock(Oprnds[i+1]));
Result = I;
break;