From 4ce3f8eb03fa32f799d523df30b4241879b71534 Mon Sep 17 00:00:00 2001 From: Alina Sbirlea Date: Thu, 23 Aug 2018 21:56:30 +0000 Subject: [PATCH] [IDF] Make GraphDiff a const constructor argument. llvm-svn: 340581 --- include/llvm/Analysis/IteratedDominanceFrontier.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Analysis/IteratedDominanceFrontier.h b/include/llvm/Analysis/IteratedDominanceFrontier.h index e09c6aacfc0..fdebb1bc396 100644 --- a/include/llvm/Analysis/IteratedDominanceFrontier.h +++ b/include/llvm/Analysis/IteratedDominanceFrontier.h @@ -50,7 +50,7 @@ class IDFCalculator { : DT(DT), GD(nullptr), useLiveIn(false) {} IDFCalculator(DominatorTreeBase &DT, - GraphDiff *GD) + const GraphDiff *GD) : DT(DT), GD(GD), useLiveIn(false) {} /// Give the IDF calculator the set of blocks in which the value is