From 7e6182319dd5baeb1b66bbdc5ab5bf2e9c541341 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Thu, 24 Feb 2005 05:26:04 +0000 Subject: [PATCH] use more specific cast. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@20297 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Bytecode/Reader/Reader.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Bytecode/Reader/Reader.cpp b/lib/Bytecode/Reader/Reader.cpp index 6876cf70b53..0b3cadf0859 100644 --- a/lib/Bytecode/Reader/Reader.cpp +++ b/lib/Bytecode/Reader/Reader.cpp @@ -711,7 +711,7 @@ void BytecodeReader::ParseInstruction(std::vector &Oprnds, getBasicBlock(Oprnds[1]), Oprnds.size()/2-1); for (unsigned i = 2, e = Oprnds.size(); i != e; i += 2) - I->addCase(cast(getValue(iType, Oprnds[i])), + I->addCase(cast(getValue(iType, Oprnds[i])), getBasicBlock(Oprnds[i+1])); Result = I; break;