X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=include%2Fllvm%2FLLVMContext.h;h=d4cd891d8a9f802c7848b48d8446d4b4783ea887;hb=234f6893a2bb752479e51c943e1eb604f2f48429;hp=4aa2c20ec2883f7055d06e6dfddb332c4a770c85;hpb=001dbfebcbbded8c8e74b19e838b50da2b6c6fb5;p=oota-llvm.git diff --git a/include/llvm/LLVMContext.h b/include/llvm/LLVMContext.h index 4aa2c20ec28..d4cd891d8a9 100644 --- a/include/llvm/LLVMContext.h +++ b/include/llvm/LLVMContext.h @@ -268,6 +268,10 @@ public: // Other helpers /// @brief Create a result type for fcmp/icmp const Type* makeCmpResultType(const Type* opnd_type); + + // Methods for erasing constants + void erase(MDString *M); + void erase(MDNode *M); }; /// FOR BACKWARDS COMPATIBILITY - Returns a global context.