diff options
author | Devang Patel <dpatel@apple.com> | 2008-02-26 22:12:58 +0000 |
---|---|---|
committer | Devang Patel <dpatel@apple.com> | 2008-02-26 22:12:58 +0000 |
commit | bbbb8207a45b37769f53e206ecab8481c39ef4c6 (patch) | |
tree | 6fbfda440238cd78cf08541b57e0ada742c45271 /lib/VMCore/Instructions.cpp | |
parent | 9f6dc2c9c71233db4d01af5a1c15b3d8730d114a (diff) | |
download | external_llvm-bbbb8207a45b37769f53e206ecab8481c39ef4c6.tar.gz external_llvm-bbbb8207a45b37769f53e206ecab8481c39ef4c6.tar.bz2 external_llvm-bbbb8207a45b37769f53e206ecab8481c39ef4c6.zip |
Remove unncessary ReturnInst constructors.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47633 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/VMCore/Instructions.cpp')
-rw-r--r-- | lib/VMCore/Instructions.cpp | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/lib/VMCore/Instructions.cpp b/lib/VMCore/Instructions.cpp index 012aad189e..e66f5e9bdf 100644 --- a/lib/VMCore/Instructions.cpp +++ b/lib/VMCore/Instructions.cpp @@ -598,26 +598,6 @@ ReturnInst::ReturnInst(BasicBlock *InsertAtEnd) : TerminatorInst(Type::VoidTy, Instruction::Ret, &RetVal, 0, InsertAtEnd) { } -ReturnInst::ReturnInst(const std::vector<Value *> &retVals, - Instruction *InsertBefore) - : TerminatorInst(Type::VoidTy, Instruction::Ret, &RetVal, retVals.size(), - InsertBefore) { - if (!retVals.empty()) - init(&retVals[0], retVals.size()); -} -ReturnInst::ReturnInst(const std::vector<Value *> &retVals, - BasicBlock *InsertAtEnd) - : TerminatorInst(Type::VoidTy, Instruction::Ret, &RetVal, retVals.size(), - InsertAtEnd) { - if (!retVals.empty()) - init(&retVals[0], retVals.size()); -} -ReturnInst::ReturnInst(const std::vector<Value *> &retVals) - : TerminatorInst(Type::VoidTy, Instruction::Ret, &RetVal, retVals.size()) { - if (!retVals.empty()) - init(&retVals[0], retVals.size()); -} - ReturnInst::ReturnInst(Value * const* retVals, unsigned N, Instruction *InsertBefore) : TerminatorInst(Type::VoidTy, Instruction::Ret, &RetVal, N, InsertBefore) { |