diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-29 05:08:31 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-29 05:08:31 +0000 |
commit | 94949dad0c83a651bede5b0fce79bd70bb16899e (patch) | |
tree | 05e72f0adb2ca978c9b26b87f3be91346d46c91b /include/llvm/Value.h | |
parent | 38e3fd3475b0414dec30f5ba9e9e8ce67a312140 (diff) | |
download | llvm-94949dad0c83a651bede5b0fce79bd70bb16899e.tar.gz llvm-94949dad0c83a651bede5b0fce79bd70bb16899e.tar.bz2 llvm-94949dad0c83a651bede5b0fce79bd70bb16899e.tar.xz |
Add new method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8204 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Value.h')
-rw-r--r-- | include/llvm/Value.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Value.h b/include/llvm/Value.h index aef3434789..437a380801 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. |