From 226b21676f7f21cd4c0e3e48e5c16308a0a41822 Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Fri, 24 Jul 2009 00:36:24 +0000 Subject: Privatize the ConstantVector tables. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76922 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Constants.h | 3 --- include/llvm/LLVMContext.h | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) (limited to 'include') 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 &Val); public: - /// get() - Static factory methods - Return objects of the specified value - static Constant *get(const VectorType *T, const std::vector &); - /// 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, -- cgit v1.1