From e490b01c12d33f3bd5c247b55b47e507cc9c8fab Mon Sep 17 00:00:00 2001 From: Vladimir Marko Date: Tue, 24 Feb 2015 11:32:46 +0000 Subject: 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 --- compiler/dex/mir_method_info.h | 1 + 1 file changed, 1 insertion(+) (limited to 'compiler/dex/mir_method_info.h') 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 -- cgit v1.2.3-59-g8ed1b