Revert "Fix issue with proxy invocation on default methods"
This reverts commit ec3b7ab8f008f36f1072d4ba03da204229b95976.
Change-Id: Idfb2c63c246cc5dae7670503e70ad3f62bb1e1eb
diff --git a/runtime/interpreter/interpreter_common.cc b/runtime/interpreter/interpreter_common.cc
index 310e211..3453abc 100644
--- a/runtime/interpreter/interpreter_common.cc
+++ b/runtime/interpreter/interpreter_common.cc
@@ -555,10 +555,8 @@
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;