diff options
author | Dan Gohman <gohman@apple.com> | 2008-06-23 16:48:17 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2008-06-23 16:48:17 +0000 |
commit | 210e6c187670c8b3b18b255e91480581126c34fa (patch) | |
tree | 32f5687618d497bf966afb985f66af66dda976e8 /llvm/lib | |
parent | 031f0bba157cfd3d89fe4f92654776af95aae467 (diff) | |
download | bcm5719-llvm-210e6c187670c8b3b18b255e91480581126c34fa.tar.gz bcm5719-llvm-210e6c187670c8b3b18b255e91480581126c34fa.zip |
Remove two convenience constructors because they're now private, and the
private implementation doesn't really need the convenience.
llvm-svn: 52629
Diffstat (limited to 'llvm/lib')
-rw-r--r-- | llvm/lib/VMCore/Instructions.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/llvm/lib/VMCore/Instructions.cpp b/llvm/lib/VMCore/Instructions.cpp index 1ce58eb6e75..4bcd560ee83 100644 --- a/llvm/lib/VMCore/Instructions.cpp +++ b/llvm/lib/VMCore/Instructions.cpp @@ -1465,24 +1465,6 @@ const Type* ExtractValueInst::getIndexedType(const Type *Agg, return getIndexedType(Agg, &Idx, 1); } -ExtractValueInst::ExtractValueInst(Value *Agg, - unsigned Idx, - const std::string &Name, - BasicBlock *InsertAtEnd) - : UnaryInstruction(checkType(getIndexedType(Agg->getType(), &Idx, 1)), - ExtractValue, Agg, InsertAtEnd) { - init(Idx, Name); -} - -ExtractValueInst::ExtractValueInst(Value *Agg, - unsigned Idx, - const std::string &Name, - Instruction *InsertBefore) - : UnaryInstruction(checkType(getIndexedType(Agg->getType(), &Idx, 1)), - ExtractValue, Agg, InsertBefore) { - init(Idx, Name); -} - //===----------------------------------------------------------------------===// // BinaryOperator Class //===----------------------------------------------------------------------===// |