From 94949dad0c83a651bede5b0fce79bd70bb16899e Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 29 Aug 2003 05:08:31 +0000 Subject: [PATCH] Add new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8204 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Value.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/llvm/Value.h b/include/llvm/Value.h index aef34347897..437a380801f 100644 --- a/include/llvm/Value.h +++ b/include/llvm/Value.h @@ -89,6 +89,10 @@ public: /// void replaceAllUsesWith(Value *V); + // uncheckedReplaceAllUsesWith - Just like replaceAllUsesWith but dangerous. + // Only use when in type resolution situations! + void uncheckedReplaceAllUsesWith(Value *V); + /// refineAbstractType - This function is implemented because we use /// potentially abstract types, and these types may be resolved to more /// concrete types after we are constructed.