summaryrefslogtreecommitdiffstats
path: root/compiler/oat_test.cc
diff options
context:
space:
mode:
authorMathieu Chartier <mathieuc@google.com>2015-01-26 18:30:19 -0800
committerMathieu Chartier <mathieuc@google.com>2015-01-28 17:16:11 -0800
commit5bdab12d8b48ca4c395d9d2c506ebff0df01b734 (patch)
treeeef73cc00cd45cc16ddcd856f9bc84d0c8edb4e1 /compiler/oat_test.cc
parentf913ff3f7e37c1b2c7f2fb96120c2b5b25d962a7 (diff)
downloadart-5bdab12d8b48ca4c395d9d2c506ebff0df01b734.tar.gz
art-5bdab12d8b48ca4c395d9d2c506ebff0df01b734.tar.bz2
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/oat_test.cc')
-rw-r--r--compiler/oat_test.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/oat_test.cc b/compiler/oat_test.cc
index d3d20555d8..46aed60479 100644
--- a/compiler/oat_test.cc
+++ b/compiler/oat_test.cc
@@ -18,9 +18,10 @@
#include "class_linker.h"
#include "common_compiler_test.h"
#include "compiler.h"
-#include "dex/verification_results.h"
+#include "dex/pass_manager.h"
#include "dex/quick/dex_file_to_method_inliner_map.h"
#include "dex/quick_compiler_callbacks.h"
+#include "dex/verification_results.h"
#include "entrypoints/quick/quick_entrypoints.h"
#include "mirror/art_method-inl.h"
#include "mirror/class-inl.h"