diff options
author | Chris Lattner <sabre@nondot.org> | 2003-08-29 05:36:05 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2003-08-29 05:36:05 +0000 |
commit | 6ac02a909256c6c0481e57c4a41e53e4007e69b2 (patch) | |
tree | 859266d0b248a0bdcca240f9d22e868b0977701b /include/llvm/Constant.h | |
parent | 205f9fce19586ffe3d3cb23d8d01ab9ca74b2a97 (diff) |
Allow for "unsafe" replaceAllUsesWith operatations, for use during type resolution
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8208 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r-- | include/llvm/Constant.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h index a7ec6331bd..e6f63b1292 100644 --- a/include/llvm/Constant.h +++ b/include/llvm/Constant.h @@ -67,7 +67,8 @@ public: /// use Value::replaceAllUsesWith, which automatically dispatches to this /// method as needed. /// - virtual void replaceUsesOfWithOnConstant(Value *From, Value *To) { + virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, + bool DisableChecking = false) { // Provide a default implementation for constants (like integers) that // cannot use any other values. This cannot be called at runtime, but needs // to be here to avoid link errors. |