summaryrefslogtreecommitdiff
path: root/compiler/dex/mir_method_info.h
diff options
context:
space:
mode:
author Vladimir Marko <vmarko@google.com> 2015-02-24 11:32:46 +0000
committer Vladimir Marko <vmarko@google.com> 2015-04-22 20:40:00 +0100
commite490b01c12d33f3bd5c247b55b47e507cc9c8fab (patch)
tree9b04b5390f0f29986d9951bdce4a2cb083113809 /compiler/dex/mir_method_info.h
parentfac10700fd99516e8a14f751fe35553021ce6982 (diff)
Quick: Rewrite type inference pass.
Use method signatures, field types and types embedded in dex insns for type inference. Perform the type inference in two phases, first a simple pass that records all types implied by individual insns, and then an iterative pass to propagate those types further via phi, move, if-cc and aget/aput insns. Bug: 19419671 Change-Id: Id38579d48a44fc5eadd13780afb6d370093056f9
Diffstat (limited to 'compiler/dex/mir_method_info.h')
-rw-r--r--compiler/dex/mir_method_info.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/compiler/dex/mir_method_info.h b/compiler/dex/mir_method_info.h
index 7230c462cd..3706012a89 100644
--- a/compiler/dex/mir_method_info.h
+++ b/compiler/dex/mir_method_info.h
@@ -232,6 +232,7 @@ class MirMethodLoweringInfo : public MirMethodInfo {
int stats_flags_;
friend class MirOptimizationTest;
+ friend class TypeInferenceTest;
};
} // namespace art