diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-23 23:14:52 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-23 23:14:52 +0000 |
commit | 6a2b8591915757db76ac1fded04ad0e6c7ed238c (patch) | |
tree | 089e427fa3790f01328ae9cfcfd6dc50898c5803 /llvm/lib/Bytecode/Reader/InstructionReader.cpp | |
parent | 180e14cb87635e6ba7091b0dfe59d63a97f9da61 (diff) | |
download | bcm5719-llvm-6a2b8591915757db76ac1fded04ad0e6c7ed238c.tar.gz bcm5719-llvm-6a2b8591915757db76ac1fded04ad0e6c7ed238c.zip |
Rename SwitchInst::dest_push_back -> addCase
llvm-svn: 8089
Diffstat (limited to 'llvm/lib/Bytecode/Reader/InstructionReader.cpp')
-rw-r--r-- | llvm/lib/Bytecode/Reader/InstructionReader.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Bytecode/Reader/InstructionReader.cpp b/llvm/lib/Bytecode/Reader/InstructionReader.cpp index e81927c441b..2ab68bb7b58 100644 --- a/llvm/lib/Bytecode/Reader/InstructionReader.cpp +++ b/llvm/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; |