From 69ba7b7112c2277ac225615b37e6df74c055740d Mon Sep 17 00:00:00 2001 From: David Brazdil Date: Tue, 23 Jun 2015 18:27:30 +0100 Subject: ART: Run GraphChecker after Builder and SsaBuilder This patch refactors the way GraphChecker is invoked, utilizing the same scoping mechanism as pass timing and graph visualizer. Therefore, GraphChecker will now run not just after instances of HOptimization but after the builders and reg alloc, too. Change-Id: I8173b98b79afa95e1fcbf3ac9630a873d7f6c1d4 --- compiler/optimizing/gvn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/gvn.h') diff --git a/compiler/optimizing/gvn.h b/compiler/optimizing/gvn.h index e74d969f11..14a503b910 100644 --- a/compiler/optimizing/gvn.h +++ b/compiler/optimizing/gvn.h @@ -27,7 +27,7 @@ class SideEffectsAnalysis; class GVNOptimization : public HOptimization { public: GVNOptimization(HGraph* graph, const SideEffectsAnalysis& side_effects) - : HOptimization(graph, true, kGlobalValueNumberingPassName), side_effects_(side_effects) {} + : HOptimization(graph, kGlobalValueNumberingPassName), side_effects_(side_effects) {} void Run() OVERRIDE; -- cgit v1.2.3-59-g8ed1b