mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-14 14:24:05 +00:00
Change the signature of replaceUsesOfWithOnConstant to take a Use* and not
take the bool. The bool is always true dynamically. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23625 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -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.
|
||||
|
Reference in New Issue
Block a user