diff options
author | Mathieu Chartier <mathieuc@google.com> | 2015-01-26 18:30:19 -0800 |
---|---|---|
committer | Mathieu Chartier <mathieuc@google.com> | 2015-01-28 17:16:11 -0800 |
commit | 5bdab12d8b48ca4c395d9d2c506ebff0df01b734 (patch) | |
tree | eef73cc00cd45cc16ddcd856f9bc84d0c8edb4e1 /compiler/common_compiler_test.cc | |
parent | f913ff3f7e37c1b2c7f2fb96120c2b5b25d962a7 (diff) | |
download | android_art-5bdab12d8b48ca4c395d9d2c506ebff0df01b734.tar.gz android_art-5bdab12d8b48ca4c395d9d2c506ebff0df01b734.tar.bz2 android_art-5bdab12d8b48ca4c395d9d2c506ebff0df01b734.zip |
Clean up pass driver
Added pass manager to hold the state which used to be in global
variables.
Static variables caused issues with Runtime.exit since they are
destroyed by the global destructors while threads are still
executing.
Bug: 17950037
Change-Id: Ie0e4546dc9e48909c8df996a5c135be682d50044
Diffstat (limited to 'compiler/common_compiler_test.cc')
-rw-r--r-- | compiler/common_compiler_test.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/common_compiler_test.cc b/compiler/common_compiler_test.cc index 96f8e0c355..1cd78f8168 100644 --- a/compiler/common_compiler_test.cc +++ b/compiler/common_compiler_test.cc @@ -19,9 +19,10 @@ #include "arch/instruction_set_features.h" #include "class_linker.h" #include "compiled_method.h" +#include "dex/pass_manager.h" #include "dex/quick_compiler_callbacks.h" -#include "dex/verification_results.h" #include "dex/quick/dex_file_to_method_inliner_map.h" +#include "dex/verification_results.h" #include "driver/compiler_driver.h" #include "interpreter/interpreter.h" #include "mirror/art_method.h" |