diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Constants.h | 3 | ||||
-rw-r--r-- | include/llvm/LLVMContext.h | 1 |
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, |