From: Chris Lattner Date: Fri, 29 Aug 2003 05:08:31 +0000 (+0000) Subject: Add new method X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=94949dad0c83a651bede5b0fce79bd70bb16899e;p=oota-llvm.git Add new method git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8204 91177308-0d34-0410-b5e6-96231b3b80d8 --- 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.