diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-04 18:12:13 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-04 18:12:13 +0000 |
commit | 40cdedecf5d871a83363cb7d69a6f6eed525651c (patch) | |
tree | 600dc009ed679d8d6f88002217ccb9c7174a9341 /include/llvm/GlobalVariable.h | |
parent | a55b30a225a023b6e6315b0c82a4622b457758ab (diff) | |
download | llvm-40cdedecf5d871a83363cb7d69a6f6eed525651c.tar.gz llvm-40cdedecf5d871a83363cb7d69a6f6eed525651c.tar.bz2 llvm-40cdedecf5d871a83363cb7d69a6f6eed525651c.tar.xz |
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
Diffstat (limited to 'include/llvm/GlobalVariable.h')
-rw-r--r-- | include/llvm/GlobalVariable.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/llvm/GlobalVariable.h b/include/llvm/GlobalVariable.h index db7a5200e2..7c6aee37f3 100644 --- a/include/llvm/GlobalVariable.h +++ b/include/llvm/GlobalVariable.h @@ -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; |