summaryrefslogtreecommitdiff
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-15 21:00:46 +0000
committerOwen Anderson <resistor@mac.com>2009-07-15 21:00:46 +0000
commit23c8046a84af0cef7bdeeb2af3313821d274b974 (patch)
tree800a524bcdf2d30953e9871fe19c9fdfd073c550 /include/llvm/Constants.h
parentf1459cf1f289a6a3454ed7005ba404dd94b4571e (diff)
downloadllvm-23c8046a84af0cef7bdeeb2af3313821d274b974.tar.gz
llvm-23c8046a84af0cef7bdeeb2af3313821d274b974.tar.bz2
llvm-23c8046a84af0cef7bdeeb2af3313821d274b974.tar.xz
Move the ConstantStruct factory methods over to LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75830 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 27e225bc37..12777025c6 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -379,12 +379,6 @@ public:
/// get() - Static factory methods - Return objects of the specified value
///
static Constant *get(const StructType *T, const std::vector<Constant*> &V);
- static Constant *get(const std::vector<Constant*> &V, bool Packed = false);
- static Constant *get(Constant*const* Vals, unsigned NumVals,
- bool Packed = false) {
- // FIXME: make this the primary ctor method.
- return get(std::vector<Constant*>(Vals, Vals+NumVals), Packed);
- }
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);