diff options
| author | Andreas Gampe <agampe@google.com> | 2017-02-01 16:46:28 -0800 |
|---|---|---|
| committer | Andreas Gampe <agampe@google.com> | 2017-04-21 08:40:33 -0700 |
| commit | c6ea7d00ad069a2736f603daa3d8eaa9a1f8ea11 (patch) | |
| tree | a6d3332a8592fb806841314d55b206b573d37d86 /runtime/mirror/method_handle_impl.cc | |
| parent | d68677c5fde1ace16ea58d65733776c954e7acb4 (diff) | |
| download | art-c6ea7d00ad069a2736f603daa3d8eaa9a1f8ea11.tar.gz art-c6ea7d00ad069a2736f603daa3d8eaa9a1f8ea11.tar.bz2 art-c6ea7d00ad069a2736f603daa3d8eaa9a1f8ea11.zip | |
ART: Clean up art_method.h
Clean up the header. Fix up other headers including the -inl file,
in an effort to prune the include graph. Fix broken transitive
includes by making includes explicit. Introduce new -inl files
for method handles and reference visiting.
Test: source build/envsetup.sh && lunch aosp_angler-userdebug && mmma art
Test: source build/envsetup.sh && lunch aosp_mips64-userdebug && mmma art
Change-Id: I8f60f1160c2a702fdf3598149dae38f6fa6bc851
Diffstat (limited to 'runtime/mirror/method_handle_impl.cc')
| -rw-r--r-- | runtime/mirror/method_handle_impl.cc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/runtime/mirror/method_handle_impl.cc b/runtime/mirror/method_handle_impl.cc index fa4d25a031..42b8473ef0 100644 --- a/runtime/mirror/method_handle_impl.cc +++ b/runtime/mirror/method_handle_impl.cc @@ -14,7 +14,7 @@ * limitations under the License. */ -#include "method_handle_impl.h" +#include "method_handle_impl-inl.h" #include "class-inl.h" #include "gc_root-inl.h" @@ -42,6 +42,10 @@ void MethodHandle::Initialize(uintptr_t art_field_or_method, GcRoot<mirror::Class> MethodHandleImpl::static_class_; +mirror::Class* MethodHandleImpl::StaticClass() { + return static_class_.Read(); +} + void MethodHandleImpl::SetClass(Class* klass) { CHECK(static_class_.IsNull()) << static_class_.Read() << " " << klass; CHECK(klass != nullptr); |
