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/dead_code_elimination.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/optimizing/dead_code_elimination.h') diff --git a/compiler/optimizing/dead_code_elimination.h b/compiler/optimizing/dead_code_elimination.h index 59a57c4345..8d6008b845 100644 --- a/compiler/optimizing/dead_code_elimination.h +++ b/compiler/optimizing/dead_code_elimination.h @@ -32,7 +32,7 @@ class HDeadCodeElimination : public HOptimization { HDeadCodeElimination(HGraph* graph, OptimizingCompilerStats* stats = nullptr, const char* name = kInitialDeadCodeEliminationPassName) - : HOptimization(graph, true, name, stats) {} + : HOptimization(graph, name, stats) {} void Run() OVERRIDE; -- cgit v1.2.3-59-g8ed1b