Add new method
authorChris Lattner <sabre@nondot.org>
Fri, 29 Aug 2003 05:08:31 +0000 (05:08 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 29 Aug 2003 05:08:31 +0000 (05:08 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8204 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Value.h

index aef34347897875d394c480e518269016cfaba176..437a380801f995a9ea886e2c59e6c55175794b6b 100644 (file)
@@ -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.