diff options
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 |
commit | e490b01c12d33f3bd5c247b55b47e507cc9c8fab (patch) | |
tree | 9b04b5390f0f29986d9951bdce4a2cb083113809 /build | |
parent | fac10700fd99516e8a14f751fe35553021ce6982 (diff) | |
download | art-e490b01c12d33f3bd5c247b55b47e507cc9c8fab.zip art-e490b01c12d33f3bd5c247b55b47e507cc9c8fab.tar.gz art-e490b01c12d33f3bd5c247b55b47e507cc9c8fab.tar.bz2 |
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 'build')
-rw-r--r-- | build/Android.gtest.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/build/Android.gtest.mk b/build/Android.gtest.mk index e0f0ae5..7d76795 100644 --- a/build/Android.gtest.mk +++ b/build/Android.gtest.mk @@ -191,6 +191,7 @@ COMPILER_GTEST_COMMON_SRC_FILES := \ compiler/dex/mir_graph_test.cc \ compiler/dex/mir_optimization_test.cc \ compiler/dex/quick/quick_cfi_test.cc \ + compiler/dex/type_inference_test.cc \ compiler/dwarf/dwarf_test.cc \ compiler/driver/compiler_driver_test.cc \ compiler/elf_writer_test.cc \ @@ -227,6 +228,7 @@ COMPILER_GTEST_COMMON_SRC_FILES := \ compiler/utils/arena_allocator_test.cc \ compiler/utils/dedupe_set_test.cc \ compiler/utils/swap_space_test.cc \ + compiler/utils/test_dex_file_builder_test.cc \ compiler/utils/arm/managed_register_arm_test.cc \ compiler/utils/arm64/managed_register_arm64_test.cc \ compiler/utils/x86/managed_register_x86_test.cc \ |