summaryrefslogtreecommitdiffstats
path: root/llvm
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2018-08-23 21:56:30 +0000
committerAlina Sbirlea <asbirlea@google.com>2018-08-23 21:56:30 +0000
commit8e78b43568b5065f963fdcd0d971547acac062ef (patch)
treec13ec0d6d14ace5d9b0ad11186c13be9a66388e3 /llvm
parentcd37c0913fc0f5fa2373c3dbcbf1e249a5b2a677 (diff)
downloadbcm5719-llvm-8e78b43568b5065f963fdcd0d971547acac062ef.tar.gz
bcm5719-llvm-8e78b43568b5065f963fdcd0d971547acac062ef.zip
[IDF] Make GraphDiff a const constructor argument.
llvm-svn: 340581
Diffstat (limited to 'llvm')
-rw-r--r--llvm/include/llvm/Analysis/IteratedDominanceFrontier.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
index e09c6aacfc0..fdebb1bc396 100644
--- a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
+++ b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
@@ -50,7 +50,7 @@ class IDFCalculator {
: DT(DT), GD(nullptr), useLiveIn(false) {}
IDFCalculator(DominatorTreeBase<BasicBlock, IsPostDom> &DT,
- GraphDiff<BasicBlock *, IsPostDom> *GD)
+ const GraphDiff<BasicBlock *, IsPostDom> *GD)
: DT(DT), GD(GD), useLiveIn(false) {}
/// Give the IDF calculator the set of blocks in which the value is
OpenPOWER on IntegriCloud