[IDF] Make GraphDiff a const constructor argument.
llvm-svn: 340581
This commit is contained in:
parent
cd37c0913f
commit
8e78b43568
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue