aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorOwen Anderson <resistor@mac.com>2009-07-24 00:36:24 +0000
committerOwen Anderson <resistor@mac.com>2009-07-24 00:36:24 +0000
commit226b21676f7f21cd4c0e3e48e5c16308a0a41822 (patch)
tree235459cdde1f0a882a34eb024e72dce11b333e3b /include
parentefb657e926924b10fe0eed4c27c63155d089b6ef (diff)
downloadexternal_llvm-226b21676f7f21cd4c0e3e48e5c16308a0a41822.zip
external_llvm-226b21676f7f21cd4c0e3e48e5c16308a0a41822.tar.gz
external_llvm-226b21676f7f21cd4c0e3e48e5c16308a0a41822.tar.bz2
Privatize the ConstantVector tables.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76922 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Constants.h3
-rw-r--r--include/llvm/LLVMContext.h1
2 files changed, 1 insertions, 3 deletions
diff --git a/include/llvm/Constants.h b/include/llvm/Constants.h
index 12f9785..f9fd636 100644
--- a/include/llvm/Constants.h
+++ b/include/llvm/Constants.h
@@ -390,9 +390,6 @@ class ConstantVector : public Constant {
protected:
ConstantVector(const VectorType *T, const std::vector<Constant*> &Val);
public:
- /// get() - Static factory methods - Return objects of the specified value
- static Constant *get(const VectorType *T, const std::vector<Constant*> &);
-
/// Transparently provide more efficient getOperand methods.
DECLARE_TRANSPARENT_OPERAND_ACCESSORS(Constant);
diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h
index 53b0868e..a2fa569 100644
--- a/include/llvm/LLVMContext.h
+++ b/include/llvm/LLVMContext.h
@@ -276,6 +276,7 @@ public:
void erase(ConstantAggregateZero *Z);
void erase(ConstantArray *Z);
void erase(ConstantStruct *S);
+ void erase(ConstantVector *V);
// RAUW helpers
Constant *replaceUsesOfWithOnConstant(ConstantArray *CA,