diff options
| author | 2015-06-26 08:56:45 +0000 | |
|---|---|---|
| committer | 2015-06-26 08:56:46 +0000 | |
| commit | 2f81cd8f4ff21caf133024795bd5ae028c9f68cd (patch) | |
| tree | 9f7124df650984b848e00625c4185641b5f1650c /compiler/optimizing/graph_checker.h | |
| parent | e4a15549608b1c5b1e1cb32f840a8467602dcc14 (diff) | |
| parent | 0b5c7d1994b76090afcc825e737f2b8c546da2f8 (diff) | |
Merge "ART: Implement try/catch blocks in Builder"
Diffstat (limited to 'compiler/optimizing/graph_checker.h')
| -rw-r--r-- | compiler/optimizing/graph_checker.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/compiler/optimizing/graph_checker.h b/compiler/optimizing/graph_checker.h index b4314da03b..bafa69d422 100644 --- a/compiler/optimizing/graph_checker.h +++ b/compiler/optimizing/graph_checker.h @@ -48,6 +48,10 @@ class GraphChecker : public HGraphDelegateVisitor { // Check that the HasBoundsChecks() flag is set for bounds checks. void VisitBoundsCheck(HBoundsCheck* check) OVERRIDE; + // Check that the Return and ReturnVoid jump to the exit block. + void VisitReturn(HReturn* ret) OVERRIDE; + void VisitReturnVoid(HReturnVoid* ret) OVERRIDE; + // Was the last visit of the graph valid? bool IsValid() const { return errors_.empty(); |