OSDN Git Service

ART: Refactor verify_object.h
authorAndreas Gampe <agampe@google.com>
Tue, 31 Jan 2017 16:58:55 +0000 (08:58 -0800)
committerAndreas Gampe <agampe@google.com>
Fri, 3 Feb 2017 18:03:52 +0000 (10:03 -0800)
commit90b936ddda63139ff46a6755c3b83ad6e4ab4ac5
treec7ce2c3004eecc16ab41ed7cde105c3019638d4b
parentb78a8af993e877d74c5938f65f95feaf2fa01321
ART: Refactor verify_object.h

Move the actual VerifyObject check into a new cc file, as we
commonly don't enable the check at all. This allows to cut the
-inl include from almost all current users.

This also exposes missing -inl includes. Also fix up some of our old
mess where .h defined functions require -inl.h defined functions.

Test: m

Change-Id: I3dd821bbe2015564a29bf1ed9be00f7a7276ad61
33 files changed:
compiler/optimizing/ssa_builder.cc
compiler/optimizing/stack_map_stream.cc
runtime/Android.bp
runtime/cha.cc
runtime/entrypoints/quick/quick_jni_entrypoints.cc
runtime/gc/collector/concurrent_copying-inl.h
runtime/gc/heap-inl.h
runtime/gc/heap.cc
runtime/handle_scope-inl.h
runtime/handle_scope_test.cc
runtime/indirect_reference_table-inl.h
runtime/indirect_reference_table.cc
runtime/jdwp/object_registry.cc
runtime/mirror/class-inl.h
runtime/mirror/class.cc
runtime/mirror/class.h
runtime/mirror/method_handle_impl.h
runtime/mirror/method_type_test.cc
runtime/mirror/object-inl.h
runtime/mirror/object.h
runtime/native/java_lang_String.cc
runtime/native/java_lang_Thread.cc
runtime/native/java_lang_reflect_Proxy.cc
runtime/oat_file_manager.cc
runtime/openjdkjvm/OpenjdkJvm.cc
runtime/scoped_thread_state_change-inl.h
runtime/scoped_thread_state_change.h
runtime/stack.cc
runtime/thread.cc
runtime/verify_object-inl.h
runtime/verify_object.cc [new file with mode: 0644]
runtime/verify_object.h
test/626-const-class-linking/clear_dex_cache_types.cc