summaryrefslogtreecommitdiff
path: root/compiler/optimizing/graph_checker.h
diff options
context:
space:
mode:
author David Brazdil <dbrazdil@google.com> 2015-11-06 19:36:29 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-11-06 19:36:29 +0000
commitb203aad7a0db904efa8429d48b53e56583f61ec2 (patch)
treea594385b554744b87a9b269f7df0d31675bc1c45 /compiler/optimizing/graph_checker.h
parent52960cd1ae1992522c8bae82fa872be49417187e (diff)
parent9bc436160b4af99067973affb0b1008de9a2b04c (diff)
Merge "ART: Fix simplification of catch blocks in the presence of dead code"
Diffstat (limited to 'compiler/optimizing/graph_checker.h')
-rw-r--r--compiler/optimizing/graph_checker.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/optimizing/graph_checker.h b/compiler/optimizing/graph_checker.h
index abf3659d91..d5ddbabc8c 100644
--- a/compiler/optimizing/graph_checker.h
+++ b/compiler/optimizing/graph_checker.h
@@ -50,6 +50,9 @@ class GraphChecker : public HGraphDelegateVisitor {
// Check successors of blocks ending in TryBoundary.
void VisitTryBoundary(HTryBoundary* try_boundary) OVERRIDE;
+ // Check that LoadException is the first instruction in a catch block.
+ void VisitLoadException(HLoadException* load) OVERRIDE;
+
// Check that HCheckCast and HInstanceOf have HLoadClass as second input.
void VisitCheckCast(HCheckCast* check) OVERRIDE;
void VisitInstanceOf(HInstanceOf* check) OVERRIDE;