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:
Chris Lattner
2005-10-04 18:12:13 +00:00
parent a55b30a225
commit 40cdedecf5
3 changed files with 6 additions and 14 deletions

View File

@ -113,8 +113,7 @@ public:
/// Override Constant's implementation of this method so we can
/// replace constant initializers.
virtual void replaceUsesOfWithOnConstant(Value *From, Value *To,
bool DisableChecking = false);
virtual void replaceUsesOfWithOnConstant(Value *From, Value *To, Use *U);
virtual void print(std::ostream &OS) const;