diff options
author | 2017-09-11 08:14:23 -0700 | |
---|---|---|
committer | 2017-09-11 08:14:23 -0700 | |
commit | a7c83ac563a8f25174ac8826f7fb87bd0a9da9fb (patch) | |
tree | 23ca6d02cd6fd7054bc4511a3f5ec346c4f9173d | |
parent | db48a79e49a900e255c1a472d6436a655016125f (diff) |
ART: Clean up WellKnownClasses include.
Delete an unnecessary include propagating the WellKnownClasses
far to widely, and instead fix some transitive users.
Test: m
Change-Id: I88fd49057afe4ddcc548b979baafb8b8682d78ae
-rw-r--r-- | compiler/image_writer.cc | 1 | ||||
-rw-r--r-- | compiler/optimizing/instruction_builder.cc | 1 | ||||
-rw-r--r-- | runtime/art_field-inl.h | 1 | ||||
-rw-r--r-- | runtime/common_throws.cc | 1 | ||||
-rw-r--r-- | runtime/dex_file_annotations.cc | 1 |
5 files changed, 4 insertions, 1 deletions
diff --git a/compiler/image_writer.cc b/compiler/image_writer.cc index fa9f64c9a6..4ffe238cc7 100644 --- a/compiler/image_writer.cc +++ b/compiler/image_writer.cc @@ -73,6 +73,7 @@ #include "runtime.h" #include "scoped_thread_state_change-inl.h" #include "utils/dex_cache_arrays_layout-inl.h" +#include "well_known_classes.h" using ::art::mirror::Class; using ::art::mirror::DexCache; diff --git a/compiler/optimizing/instruction_builder.cc b/compiler/optimizing/instruction_builder.cc index ca3b191cb0..6532ec123d 100644 --- a/compiler/optimizing/instruction_builder.cc +++ b/compiler/optimizing/instruction_builder.cc @@ -25,6 +25,7 @@ #include "quicken_info.h" #include "scoped_thread_state_change-inl.h" #include "sharpening.h" +#include "well_known_classes.h" namespace art { diff --git a/runtime/art_field-inl.h b/runtime/art_field-inl.h index 057f58c3a0..2532db9082 100644 --- a/runtime/art_field-inl.h +++ b/runtime/art_field-inl.h @@ -30,7 +30,6 @@ #include "primitive.h" #include "scoped_thread_state_change-inl.h" #include "thread-current-inl.h" -#include "well_known_classes.h" namespace art { diff --git a/runtime/common_throws.cc b/runtime/common_throws.cc index a46f531d93..bf2e7062ad 100644 --- a/runtime/common_throws.cc +++ b/runtime/common_throws.cc @@ -35,6 +35,7 @@ #include "obj_ptr-inl.h" #include "thread.h" #include "verifier/method_verifier.h" +#include "well_known_classes.h" namespace art { diff --git a/runtime/dex_file_annotations.cc b/runtime/dex_file_annotations.cc index 4225ab9b6e..fe33bded2b 100644 --- a/runtime/dex_file_annotations.cc +++ b/runtime/dex_file_annotations.cc @@ -30,6 +30,7 @@ #include "mirror/method.h" #include "reflection.h" #include "thread.h" +#include "well_known_classes.h" namespace art { |