summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlina Sbirlea <asbirlea@google.com>2018-08-17 18:37:15 +0000
committerAlina Sbirlea <asbirlea@google.com>2018-08-17 18:37:15 +0000
commitb8ff3fff087c24df190709ddd4968220d86c1a56 (patch)
tree72a4e41e03c89428103b69c0b3e9ad6d5ff17e94
parent06ac6af297ddb49e03e8604e3f1d707883477d24 (diff)
downloadbcm5719-llvm-b8ff3fff087c24df190709ddd4968220d86c1a56.tar.gz
bcm5719-llvm-b8ff3fff087c24df190709ddd4968220d86c1a56.zip
[IDF] Make GD const.
llvm-svn: 340067
-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 6ae8d7e0da2..e09c6aacfc0 100644
--- a/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
+++ b/llvm/include/llvm/Analysis/IteratedDominanceFrontier.h
@@ -90,7 +90,7 @@ class IDFCalculator {
private:
DominatorTreeBase<BasicBlock, IsPostDom> &DT;
- GraphDiff<BasicBlock *, IsPostDom> *GD;
+ const GraphDiff<BasicBlock *, IsPostDom> *GD;
bool useLiveIn;
const SmallPtrSetImpl<BasicBlock *> *LiveInBlocks;
const SmallPtrSetImpl<BasicBlock *> *DefBlocks;
OpenPOWER on IntegriCloud