OSDN Git Service

Add dex2oat --print-pass-names and --disable-passes= options.
authorChao-ying Fu <chao-ying.fu@intel.com>
Tue, 11 Mar 2014 21:57:19 +0000 (14:57 -0700)
committerChao-ying Fu <chao-ying.fu@intel.com>
Wed, 12 Mar 2014 17:44:11 +0000 (10:44 -0700)
commitcd8ce66a83af05d5ecb59aa6a8aad89a29e0a844
treea92a3632079120d0833d75e0b9f926d57972a21f
parentf1375cd6367fba8b192b7628769931853c25e942
Add dex2oat --print-pass-names and --disable-passes= options.

Add --print-pass-names to print a list of pass names.
Add --disable-passes= to disable one ore more passes
separated by comma.
Ex: Using --disable-passes=UseCount,BBOptimizations can disable UseCount
and BBOptimizations passes.

Change-Id: I0dffaf10547afdcca78a20d8e0e6b358bfb2ee8c
Signed-off-by: Chao-ying Fu <chao-ying.fu@intel.com>
compiler/dex/pass_driver.cc
compiler/dex/pass_driver.h
dex2oat/dex2oat.cc