summaryrefslogtreecommitdiff
path: root/compiler/driver/compiler_driver.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2015-12-15 18:11:08 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2015-12-15 18:11:08 +0000
commit7d5a577c1f256a7703361afb071dcd4ecc7d275f (patch)
treed5d151bf0502af93fe8826f368807ab1df7734aa /compiler/driver/compiler_driver.cc
parentad94d64719c2a82cdd312b318b8e50d80e2956c5 (diff)
parent6286a97bea0f584342803a215550038852b24776 (diff)
Merge "Combine direct_methods_ and virtual_methods_ fields of mirror::Class"
Diffstat (limited to 'compiler/driver/compiler_driver.cc')
-rw-r--r--compiler/driver/compiler_driver.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/compiler/driver/compiler_driver.cc b/compiler/driver/compiler_driver.cc
index ba8f1d0df1..56839f85f9 100644
--- a/compiler/driver/compiler_driver.cc
+++ b/compiler/driver/compiler_driver.cc
@@ -790,10 +790,7 @@ class ResolveCatchBlockExceptionsClassVisitor : public ClassVisitor {
virtual bool Visit(mirror::Class* c) OVERRIDE SHARED_REQUIRES(Locks::mutator_lock_) {
const auto pointer_size = Runtime::Current()->GetClassLinker()->GetImagePointerSize();
- for (auto& m : c->GetVirtualMethods(pointer_size)) {
- ResolveExceptionsForMethod(&m, pointer_size);
- }
- for (auto& m : c->GetDirectMethods(pointer_size)) {
+ for (auto& m : c->GetMethods(pointer_size)) {
ResolveExceptionsForMethod(&m, pointer_size);
}
return true;