summaryrefslogtreecommitdiff
path: root/include/llvm/Constant.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/llvm/Constant.h')
-rw-r--r--include/llvm/Constant.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/Constant.h b/include/llvm/Constant.h
index b82a259849..fc63b35b20 100644
--- a/include/llvm/Constant.h
+++ b/include/llvm/Constant.h
@@ -75,8 +75,7 @@ public:
/// use Value::replaceAllUsesWith, which automatically dispatches to this
/// method as needed.
///
- virtual void replaceUsesOfWithOnConstant(Value *From, Value *To,
- bool DisableChecking = false) {
+ virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U) {
// 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.