aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Bytecode
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-08-23 23:14:52 +0000
committerChris Lattner <sabre@nondot.org>2003-08-23 23:14:52 +0000
commit4354f564c21d445812e1d59dc4b2058c5a07dbf3 (patch)
tree180b435d45cc40ee644f5bf39912e5511ea0d71e /lib/Bytecode
parent131d19f9c6752c90e9b2cde72b11164fd13850db (diff)
downloadexternal_llvm-4354f564c21d445812e1d59dc4b2058c5a07dbf3.zip
external_llvm-4354f564c21d445812e1d59dc4b2058c5a07dbf3.tar.gz
external_llvm-4354f564c21d445812e1d59dc4b2058c5a07dbf3.tar.bz2
Rename SwitchInst::dest_push_back -> addCase
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8089 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bytecode')
-rw-r--r--lib/Bytecode/Reader/InstructionReader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Bytecode/Reader/InstructionReader.cpp b/lib/Bytecode/Reader/InstructionReader.cpp
index e81927c..2ab68bb 100644
--- a/lib/Bytecode/Reader/InstructionReader.cpp
+++ b/lib/Bytecode/Reader/InstructionReader.cpp
@@ -215,8 +215,8 @@ bool BytecodeParser::ParseInstruction(const unsigned char *&Buf,
std::vector<unsigned> &args = *Raw.VarArgs;
for (unsigned i = 0; i < args.size(); i += 2)
- I->dest_push_back(cast<Constant>(getValue(Raw.Ty, args[i])),
- cast<BasicBlock>(getValue(Type::LabelTy, args[i+1])));
+ I->addCase(cast<Constant>(getValue(Raw.Ty, args[i])),
+ cast<BasicBlock>(getValue(Type::LabelTy, args[i+1])));
delete Raw.VarArgs;
return false;