[IDF] Make GraphDiff a const constructor argument.

llvm-svn: 340581
This commit is contained in:
Alina Sbirlea 2018-08-23 21:56:30 +00:00
parent cd37c0913f
commit 8e78b43568
1 changed files with 1 additions and 1 deletions

View File

@ -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