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 aef3434..437a380 100644
--- a/include/llvm/Value.h
+++ b/include/llvm/Value.h
@@ -89,6 +89,10 @@
///
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.