From 006c77df8cc7f6a9dac575600b797b8ba32b29eb Mon Sep 17 00:00:00 2001 From: Owen Anderson Date: Thu, 23 Jul 2009 23:25:33 +0000 Subject: Privatize the ConstantStruct table. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@76912 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/LLVMContext.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/llvm/LLVMContext.h') diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index 0751ccd83a..53b0868ec2 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -275,10 +275,13 @@ public: void erase(MDNode *M); void erase(ConstantAggregateZero *Z); void erase(ConstantArray *Z); + void erase(ConstantStruct *S); // RAUW helpers Constant *replaceUsesOfWithOnConstant(ConstantArray *CA, Value *From, Value *To, Use *U); + Constant *replaceUsesOfWithOnConstant(ConstantStruct *CS, Value *From, + Value *To, Use *U); }; /// FOR BACKWARDS COMPATIBILITY - Returns a global context. -- cgit v1.2.3