summaryrefslogtreecommitdiff
path: root/include/llvm/Constants.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-15 21:51:10 +0000
committerOwen Anderson <resistor@mac.com>2009-07-15 21:51:10 +0000
commita90b3dc2f1f70ab7102ec3f1fc57f199fd56d7cc (patch)
treeb54a5c3b507d9f5e051bdbdd587c6c6732ac837c /include/llvm/Constants.h
parent7add5ff1d1257f6f09e66be42d459610f4693d68 (diff)
downloadllvm-a90b3dc2f1f70ab7102ec3f1fc57f199fd56d7cc.tar.gz
llvm-a90b3dc2f1f70ab7102ec3f1fc57f199fd56d7cc.tar.bz2
llvm-a90b3dc2f1f70ab7102ec3f1fc57f199fd56d7cc.tar.xz
Move a few more convenience factory functions from Constant to LLVMContext.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@75840 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constants.h')
-rw-r--r--include/llvm/Constants.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 12777025c6..e06ce1f1b9 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -313,11 +313,6 @@ protected:
public:
/// get() - Static factory methods - Return objects of the specified value
static Constant *get(const ArrayType *T, const std::vector<Constant*> &);
- static Constant *get(const ArrayType *T,
- Constant*const*Vals, unsigned NumVals) {
- // FIXME: make this the primary ctor method.
- return get(T, std::vector<Constant*>(Vals, Vals+NumVals));
- }
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);
@@ -424,11 +419,6 @@ protected:
public:
/// get() - Static factory methods - Return objects of the specified value
static Constant *get(const VectorType *T, const std::vector<Constant*> &);
- static Constant *get(const std::vector<Constant*> &V);
- static Constant *get(Constant*const* Vals, unsigned NumVals) {
- // FIXME: make this the primary ctor method.
- return get(std::vector<Constant*>(Vals, Vals+NumVals));
- }
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);