summaryrefslogtreecommitdiffstats
path: root/compiler/optimizing/graph_checker.h
diff options
context:
space:
mode:
authorNicolas Geoffray <ngeoffray@google.com>2015-01-16 12:35:40 +0000
committerNicolas Geoffray <ngeoffray@google.com>2015-01-19 09:29:40 +0000
commit9ee66183d8e046ea661f642ba884626f16b46e06 (patch)
treed400690c920b0857dafd06efd3db6336c9eeba5b /compiler/optimizing/graph_checker.h
parent36740379b9b1c81b7eb06ea9c9df411d0a9a765e (diff)
downloadart-9ee66183d8e046ea661f642ba884626f16b46e06.tar.gz
art-9ee66183d8e046ea661f642ba884626f16b46e06.tar.bz2
art-9ee66183d8e046ea661f642ba884626f16b46e06.zip
Constant fold after inlining.
- Inlining opens up new opportunities for constant folding. - Fix a bug in constant folder where the result type was not correctly set for the folding of a HCompare. - Improve graph checker's coverage. Change-Id: I0943bf8ff65505c4addc4a555a526b55e00b5268
Diffstat (limited to 'compiler/optimizing/graph_checker.h')
-rw-r--r--compiler/optimizing/graph_checker.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/optimizing/graph_checker.h b/compiler/optimizing/graph_checker.h
index ba60cb99c6..ae1557b57c 100644
--- a/compiler/optimizing/graph_checker.h
+++ b/compiler/optimizing/graph_checker.h
@@ -101,6 +101,7 @@ class SSAChecker : public GraphChecker {
void VisitPhi(HPhi* phi) OVERRIDE;
void VisitBinaryOperation(HBinaryOperation* op) OVERRIDE;
void VisitCondition(HCondition* op) OVERRIDE;
+ void VisitIf(HIf* instruction) OVERRIDE;
private:
DISALLOW_COPY_AND_ASSIGN(SSAChecker);