diff options
author | Andreas Gampe <agampe@google.com> | 2015-01-22 20:39:27 -0800 |
---|---|---|
committer | Andreas Gampe <agampe@google.com> | 2015-01-26 14:30:40 -0800 |
commit | 0b9203e7996ee1856f620f95d95d8a273c43a3df (patch) | |
tree | a9715986cfdbb21e4d64f72b56fac255cc8b9309 /compiler/dex/mir_analysis.cc | |
parent | 4dfe58d8f2d398963f31831a57fbd12e282e1196 (diff) | |
download | android_art-0b9203e7996ee1856f620f95d95d8a273c43a3df.tar.gz android_art-0b9203e7996ee1856f620f95d95d8a273c43a3df.tar.bz2 android_art-0b9203e7996ee1856f620f95d95d8a273c43a3df.zip |
ART: Some Quick cleanup
Make several fields const in CompilationUnit. May benefit some Mir2Lir
code that repeats tests, and in general immutability is good.
Remove compiler_internals.h and refactor some other headers to reduce
overly broad imports (and thus forced recompiles on changes).
Change-Id: I898405907c68923581373b5981d8a85d2e5d185a
Diffstat (limited to 'compiler/dex/mir_analysis.cc')
-rw-r--r-- | compiler/dex/mir_analysis.cc | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/compiler/dex/mir_analysis.cc b/compiler/dex/mir_analysis.cc index 0f0846c74c..473196b98a 100644 --- a/compiler/dex/mir_analysis.cc +++ b/compiler/dex/mir_analysis.cc @@ -17,15 +17,18 @@ #include <algorithm> #include <memory> -#include "compiler_internals.h" +#include "base/logging.h" #include "dataflow_iterator-inl.h" -#include "dex_instruction.h" +#include "compiler_ir.h" +#include "dex_flags.h" #include "dex_instruction-inl.h" #include "dex/mir_field_info.h" #include "dex/verified_method.h" #include "dex/quick/dex_file_method_inliner.h" #include "dex/quick/dex_file_to_method_inliner_map.h" +#include "driver/compiler_driver.h" #include "driver/compiler_options.h" +#include "driver/dex_compilation_unit.h" #include "utils/scoped_arena_containers.h" namespace art { |