diff options
author | Dan Gohman <gohman@apple.com> | 2010-12-22 22:10:08 +0000 |
---|---|---|
committer | Dan Gohman <gohman@apple.com> | 2010-12-22 22:10:08 +0000 |
commit | df3ee64d791624bf28ac3e6820bf8fdd17f1bff1 (patch) | |
tree | 7d63be10828e055047d819fc636c0e5883a94dd2 /include | |
parent | 835439a397407e421263bd476e5b18bf787ffb6a (diff) | |
download | external_llvm-df3ee64d791624bf28ac3e6820bf8fdd17f1bff1.zip external_llvm-df3ee64d791624bf28ac3e6820bf8fdd17f1bff1.tar.gz external_llvm-df3ee64d791624bf28ac3e6820bf8fdd17f1bff1.tar.bz2 |
Constify.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@122447 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Analysis/Dominators.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/llvm/Analysis/Dominators.h b/include/llvm/Analysis/Dominators.h index 2620d2a..1eefe75 100644 --- a/include/llvm/Analysis/Dominators.h +++ b/include/llvm/Analysis/Dominators.h @@ -766,7 +766,7 @@ public: AU.setPreservesAll(); } - inline bool dominates(DomTreeNode* A, DomTreeNode* B) const { + inline bool dominates(const DomTreeNode* A, const DomTreeNode* B) const { return DT->dominates(A, B); } |