summaryrefslogtreecommitdiff
path: root/runtime/interpreter/interpreter_common.cc
diff options
context:
space:
mode:
author Alex Light <allight@google.com> 2016-03-16 23:02:59 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2016-03-16 23:02:59 +0000
commita67a089761ca770aa50122c47c5451a52e7eb807 (patch)
tree158a3eb5f1fa75097316cffd6f7ff396791c6e7f /runtime/interpreter/interpreter_common.cc
parent08aa5f3086a1c0f6f4839a73535ecf3a55cfae8c (diff)
parentdaf58c80d42f024aae0cb94ebd2c0bd61ebbf240 (diff)
Merge "Revert "Fix issue with proxy invocation on default methods""
Diffstat (limited to 'runtime/interpreter/interpreter_common.cc')
-rw-r--r--runtime/interpreter/interpreter_common.cc6
1 files changed, 2 insertions, 4 deletions
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc
index 310e211aaf..3453abcd64 100644
--- a/runtime/interpreter/interpreter_common.cc
+++ b/runtime/interpreter/interpreter_common.cc
@@ -555,10 +555,8 @@ static inline bool DoCallCommon(ArtMethod* called_method,
string_init = true;
}
- // Compute method information. Need to specifically check for proxy methods since default-method
- // proxies might have a CodeItem from the default version.
- const DexFile::CodeItem* code_item =
- called_method->IsProxyMethod() ? nullptr : called_method->GetCodeItem();
+ // Compute method information.
+ const DexFile::CodeItem* code_item = called_method->GetCodeItem();
// Number of registers for the callee's call frame.
uint16_t num_regs;