summaryrefslogtreecommitdiff
path: root/src/dex2oat.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/dex2oat.cc')
-rw-r--r--src/dex2oat.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dex2oat.cc b/src/dex2oat.cc
index 2a6a2204c4..05ff0c0cf3 100644
--- a/src/dex2oat.cc
+++ b/src/dex2oat.cc
@@ -375,12 +375,12 @@ class Dex2Oat {
reinterpret_cast<std::set<std::pair<uint16_t, const DexFile*> >*>(arg);
MethodHelper mh;
for (size_t i = 0; i < c->NumVirtualMethods(); ++i) {
- Method* m = c->GetVirtualMethod(i);
+ AbstractMethod* m = c->GetVirtualMethod(i);
mh.ChangeMethod(m);
ResolveExceptionsForMethod(&mh, *exceptions_to_resolve);
}
for (size_t i = 0; i < c->NumDirectMethods(); ++i) {
- Method* m = c->GetDirectMethod(i);
+ AbstractMethod* m = c->GetDirectMethod(i);
mh.ChangeMethod(m);
ResolveExceptionsForMethod(&mh, *exceptions_to_resolve);
}