OSDN Git Service

Early inlining of simple methods.
authorVladimir Marko <vmarko@google.com>
Thu, 2 Jan 2014 16:40:37 +0000 (16:40 +0000)
committerVladimir Marko <vmarko@google.com>
Tue, 18 Mar 2014 16:16:16 +0000 (16:16 +0000)
commit9820b7c1dc70e75ad405b9e6e63578fa9fe94e94
tree2fff53b061b16d758870a2a5299a383bdbe550b6
parent80f9d0c48d6f8561700630b8b08adb4398d61008
Early inlining of simple methods.

Inlining "special" methods: empty methods, methods returning
constants or their arguments, simple getters and setters.

Bug: 8164439
Change-Id: I8c7fa9c14351fbb2470000b378a22974daaef236
16 files changed:
compiler/dex/bb_optimizations.h
compiler/dex/frontend.cc
compiler/dex/frontend.h
compiler/dex/local_value_numbering.cc
compiler/dex/mir_dataflow.cc
compiler/dex/mir_graph.h
compiler/dex/mir_method_info.cc
compiler/dex/mir_method_info.h
compiler/dex/mir_optimization.cc
compiler/dex/pass_driver.cc
compiler/dex/quick/dex_file_method_inliner.cc
compiler/dex/quick/dex_file_method_inliner.h
compiler/dex/quick/gen_invoke.cc
compiler/dex/quick/mir_to_lir.cc
compiler/driver/compiler_driver-inl.h
compiler/driver/compiler_driver.h