Drop unused arguments for MethodEntered function
this_object and dex_pc aren't used in MethodEntered listener.
Test: art/test/run-test
Change-Id: I158f962befe1015d21d08c757d4c415fe7865d16
diff --git a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
index eaa9f4e..dad2ff1 100644
--- a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
+++ b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
@@ -855,10 +855,7 @@
// that performs allocations or instrumentation events.
instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation();
if (instr->HasMethodEntryListeners()) {
- instr->MethodEnterEvent(soa.Self(),
- soa.Decode<mirror::Object>(rcvr_jobj),
- proxy_method,
- 0);
+ instr->MethodEnterEvent(soa.Self(), proxy_method);
if (soa.Self()->IsExceptionPending()) {
instr->MethodUnwindEvent(self,
soa.Decode<mirror::Object>(rcvr_jobj),