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/nodes.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'compiler/optimizing/nodes.h') diff --git a/compiler/optimizing/nodes.h b/compiler/optimizing/nodes.h index 581645f21a..0f5b1abbbf 100644 --- a/compiler/optimizing/nodes.h +++ b/compiler/optimizing/nodes.h @@ -160,6 +160,8 @@ class HGraph : public ArenaObject { const GrowableArray& GetBlocks() const { return blocks_; } HBasicBlock* GetBlock(size_t id) const { return blocks_.Get(id); } + bool IsInSsaForm() const { return in_ssa_form_; } + HBasicBlock* GetEntryBlock() const { return entry_block_; } HBasicBlock* GetExitBlock() const { return exit_block_; } bool HasExitBlock() const { return exit_block_ != nullptr; } -- cgit v1.2.3-59-g8ed1b