diff options
author | Alex Light <allight@google.com> | 2015-12-03 17:38:56 -0800 |
---|---|---|
committer | Alex Light <allight@google.com> | 2015-12-14 14:27:32 -0800 |
commit | 6286a97bea0f584342803a215550038852b24776 (patch) | |
tree | 3571735bdc691bf30e33abb65a95ada8c71a18b7 /compiler/driver/compiler_driver_test.cc | |
parent | 377cb3ba2e1cfe51967e5292268a9aae71ceca8c (diff) |
Combine direct_methods_ and virtual_methods_ fields of mirror::Class
This makes several parts of the overall runtime simpler and reduces
the size of a class object by 32-bits.
Bug: 24618811
Change-Id: I36129b52189e26898ea56fa2b7b45652e06af236
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
-rw-r--r-- | compiler/driver/compiler_driver_test.cc | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index f8de9fa4a1..86f8b823cc 100644 --- a/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -86,10 +86,7 @@ class CompilerDriverTest : public CommonCompilerTest { mirror::Class* c = class_linker->FindClass(soa.Self(), descriptor, loader); CHECK(c != nullptr); const auto pointer_size = class_linker->GetImagePointerSize(); - for (auto& m : c->GetDirectMethods(pointer_size)) { - MakeExecutable(&m); - } - for (auto& m : c->GetVirtualMethods(pointer_size)) { + for (auto& m : c->GetMethods(pointer_size)) { MakeExecutable(&m); } } |