[llvm-commits] CVS: llvm/lib/VMCore/iSwitch.cpp iBranch.cpp
Alkis Evlogimenos
alkis at cs.uiuc.edu
Wed May 26 17:10:03 PDT 2004
Changes in directory llvm/lib/VMCore:
iSwitch.cpp updated: 1.12 -> 1.13
iBranch.cpp updated: 1.13 -> 1.14
---
Log message:
Inline trivial constructors.
---
Diffs of the changes: (+0 -33)
Index: llvm/lib/VMCore/iSwitch.cpp
diff -u llvm/lib/VMCore/iSwitch.cpp:1.12 llvm/lib/VMCore/iSwitch.cpp:1.13
--- llvm/lib/VMCore/iSwitch.cpp:1.12 Wed May 26 16:41:09 2004
+++ llvm/lib/VMCore/iSwitch.cpp Wed May 26 17:07:18 2004
@@ -22,17 +22,6 @@
Operands.push_back(Use(Default, this));
}
-SwitchInst::SwitchInst(Value *V, BasicBlock *D,
- Instruction *InsertBefore)
- : TerminatorInst(Instruction::Switch, InsertBefore) {
- init(V, D);
-}
-
-SwitchInst::SwitchInst(Value *V, BasicBlock *D, BasicBlock *InsertAtEnd)
- : TerminatorInst(Instruction::Switch, InsertAtEnd) {
- init(V, D);
-}
-
SwitchInst::SwitchInst(const SwitchInst &SI)
: TerminatorInst(Instruction::Switch) {
Operands.reserve(SI.Operands.size());
Index: llvm/lib/VMCore/iBranch.cpp
diff -u llvm/lib/VMCore/iBranch.cpp:1.13 llvm/lib/VMCore/iBranch.cpp:1.14
--- llvm/lib/VMCore/iBranch.cpp:1.13 Wed May 26 16:41:09 2004
+++ llvm/lib/VMCore/iBranch.cpp Wed May 26 17:07:18 2004
@@ -47,28 +47,6 @@
Operands.push_back(Use(Cond, this));
}
-BranchInst::BranchInst(BasicBlock *True, BasicBlock *False, Value *Cond,
- Instruction *InsertBefore)
- : TerminatorInst(Instruction::Br, InsertBefore) {
- init(True, False, Cond);
-}
-
-BranchInst::BranchInst(BasicBlock *True, BasicBlock *False, Value *Cond,
- BasicBlock *InsertAtEnd)
- : TerminatorInst(Instruction::Br, InsertAtEnd) {
- init(True, False, Cond);
-}
-
-BranchInst::BranchInst(BasicBlock *True, Instruction *InsertBefore)
- : TerminatorInst(Instruction::Br, InsertBefore) {
- init(True);
-}
-
-BranchInst::BranchInst(BasicBlock *True, BasicBlock *InsertAtEnd)
- : TerminatorInst(Instruction::Br, InsertAtEnd) {
- init(True);
-}
-
BranchInst::BranchInst(const BranchInst &BI) : TerminatorInst(Instruction::Br) {
Operands.reserve(BI.Operands.size());
Operands.push_back(Use(BI.Operands[0], this));
More information about the llvm-commits
mailing list