diff options
author | 2015-07-01 08:54:33 +0000 | |
---|---|---|
committer | 2015-07-01 08:54:34 +0000 | |
commit | ed6193a75b90ec3026622b2cbc146452a85b8d47 (patch) | |
tree | b964b6cc449f30a1847de61e1a16812c87bca7a4 /compiler/optimizing/graph_checker.h | |
parent | e54cd64e97e5626d685e858cd871db248dacf7ea (diff) | |
parent | b7a4790e5a2884e62f6dc85aca1455b145e2a7db (diff) |
Merge "Revert "Revert "Do not update the type of something we already know.""" into mnc-dev
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..9284bb77b0 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 HCheckCast and HInstanceOf have HLoadClass as second input. + void VisitCheckCast(HCheckCast* check) OVERRIDE; + void VisitInstanceOf(HInstanceOf* check) OVERRIDE; + // Was the last visit of the graph valid? bool IsValid() const { return errors_.empty(); |