[llvm-commits] CVS: llvm/lib/Bytecode/Reader/ReadInst.cpp
Chris Lattner
lattner at cs.uiuc.edu
Sat Aug 23 18:20:35 PDT 2003
Changes in directory llvm/lib/Bytecode/Reader:
ReadInst.cpp updated: 1.43 -> 1.44
---
Log message:
Rename SwitchInst::dest_push_back -> addCase
---
Diffs of the changes:
Index: llvm/lib/Bytecode/Reader/ReadInst.cpp
diff -u llvm/lib/Bytecode/Reader/ReadInst.cpp:1.43 llvm/lib/Bytecode/Reader/ReadInst.cpp:1.44
--- llvm/lib/Bytecode/Reader/ReadInst.cpp:1.43 Tue Jun 17 08:31:10 2003
+++ llvm/lib/Bytecode/Reader/ReadInst.cpp Sat Aug 23 18:14:52 2003
@@ -215,8 +215,8 @@
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;
More information about the llvm-commits
mailing list