1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 03:23:01 +02:00

[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 510f86ea5c
commit 4ce3f8eb03

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