diff options
author | 2015-12-10 15:40:55 +0000 | |
---|---|---|
committer | 2015-12-10 15:40:55 +0000 | |
commit | d48015603a54b820d287d92709825765159615f0 (patch) | |
tree | 4ea80442ced4a81676cd6a68c33bc641a8494497 /compiler/optimizing/builder.cc | |
parent | 4a34064d9ca437c5168d7c00c456155ea8339dec (diff) | |
parent | 41844e5071b2540d7b974ba09859170af2720776 (diff) |
Merge "Fix braino when resolving an invoke-super."
Diffstat (limited to 'compiler/optimizing/builder.cc')
-rw-r--r-- | compiler/optimizing/builder.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/optimizing/builder.cc b/compiler/optimizing/builder.cc index 2bbf500a98..e1404ce59c 100644 --- a/compiler/optimizing/builder.cc +++ b/compiler/optimizing/builder.cc @@ -785,7 +785,7 @@ ArtMethod* HGraphBuilder::ResolveMethod(uint16_t method_idx, InvokeType invoke_t ArtMethod* actual_method = compiling_class->GetSuperClass()->GetVTableEntry( vtable_index, class_linker->GetImagePointerSize()); if (actual_method != resolved_method && - !IsSameDexFile(*resolved_method->GetDexFile(), *dex_compilation_unit_->GetDexFile())) { + !IsSameDexFile(*actual_method->GetDexFile(), *dex_compilation_unit_->GetDexFile())) { // TODO: The actual method could still be referenced in the current dex file, so we // could try locating it. // TODO: Remove the dex_file restriction. |