summaryrefslogtreecommitdiff
path: root/include/llvm/LLVMContext.h
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-28 21:19:26 +0000
committerOwen Anderson <resistor@mac.com>2009-07-28 21:19:26 +0000
commitaf7ec975870f92245f1f1484ac80a1e2db6a0afa (patch)
treeb00e71c30dafeea2c63c1b512c0d858e621870fa /include/llvm/LLVMContext.h
parente7c329bf4b48ba3a4539183dc2d0804db6f4042a (diff)
downloadllvm-af7ec975870f92245f1f1484ac80a1e2db6a0afa.tar.gz
llvm-af7ec975870f92245f1f1484ac80a1e2db6a0afa.tar.bz2
llvm-af7ec975870f92245f1f1484ac80a1e2db6a0afa.tar.xz
Return ConstantVector to 2.5 API.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77366 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/LLVMContext.h')
-rw-r--r--include/llvm/LLVMContext.h8
1 files changed, 1 insertions, 7 deletions
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h
index 03de906c14..de118aae64 100644
--- a/include/llvm/LLVMContext.h
+++ b/include/llvm/LLVMContext.h
@@ -59,6 +59,7 @@ class LLVMContext {
friend class ConstantFP;
friend class ConstantStruct;
friend class ConstantArray;
+ friend class ConstantVector;
public:
LLVMContext();
~LLVMContext();
@@ -160,12 +161,6 @@ public:
///
Constant* getConstantExprSizeOf(const Type* Ty);
- // ConstantVector accessors
- Constant* getConstantVector(const VectorType* T,
- const std::vector<Constant*>& V);
- Constant* getConstantVector(const std::vector<Constant*>& V);
- Constant* getConstantVector(Constant* const* Vals, unsigned NumVals);
-
// MDNode accessors
MDNode* getMDNode(Value* const* Vals, unsigned NumVals);
@@ -211,7 +206,6 @@ public:
void erase(MDString *M);
void erase(MDNode *M);
void erase(ConstantAggregateZero *Z);
- void erase(ConstantVector *V);
};
/// FOR BACKWARDS COMPATIBILITY - Returns a global context.