mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 19:52:54 +01:00
use more specific cast.
llvm-svn: 20297
This commit is contained in:
parent
ce949bdbfc
commit
608a8c9f55
@ -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<ConstantInt>(getValue(iType, Oprnds[i])),
|
||||
getBasicBlock(Oprnds[i+1]));
|
||||
Result = I;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user