diff options
author | Alex Light <allight@google.com> | 2015-12-15 22:15:26 +0000 |
---|---|---|
committer | Alex Light <allight@google.com> | 2015-12-15 22:15:26 +0000 |
commit | ae358c1d5cef227b44d6f4971b79e1ab91aa26eb (patch) | |
tree | 95c22194af5ea38a4fa5fc8bbe07ba60b6d0a021 /compiler/driver/compiler_driver_test.cc | |
parent | 6286a97bea0f584342803a215550038852b24776 (diff) |
Revert "Combine direct_methods_ and virtual_methods_ fields of mirror::Class"
This reverts commit 6286a97bea0f584342803a215550038852b24776.
Change-Id: I5b00f6d1350e9c587acd4b185367dc815ea707de
Diffstat (limited to 'compiler/driver/compiler_driver_test.cc')
-rw-r--r-- | compiler/driver/compiler_driver_test.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/compiler/driver/compiler_driver_test.cc b/compiler/driver/compiler_driver_test.cc index 86f8b823cc..f8de9fa4a1 100644 --- a/compiler/driver/compiler_driver_test.cc +++ b/compiler/driver/compiler_driver_test.cc @@ -86,7 +86,10 @@ 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->GetMethods(pointer_size)) { + for (auto& m : c->GetDirectMethods(pointer_size)) { + MakeExecutable(&m); + } + for (auto& m : c->GetVirtualMethods(pointer_size)) { MakeExecutable(&m); } } |