ObjPtr<>-ify instrumentation.
Test: m test-art-host-gtest
Test: testrunner.py --host --interpreter
Bug: 31113334
Change-Id: I95d9e1c9c9a0c9e460048c686c229618126b66d5
diff --git a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
index a2420af..f3e5ee4 100644
--- a/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
+++ b/runtime/entrypoints/quick/quick_trampoline_entrypoints.cc
@@ -941,12 +941,12 @@
instrumentation::Instrumentation* instr = Runtime::Current()->GetInstrumentation();
if (instr->HasMethodEntryListeners()) {
instr->MethodEnterEvent(soa.Self(),
- soa.Decode<mirror::Object>(rcvr_jobj).Ptr(),
+ soa.Decode<mirror::Object>(rcvr_jobj),
proxy_method,
0);
if (soa.Self()->IsExceptionPending()) {
instr->MethodUnwindEvent(self,
- soa.Decode<mirror::Object>(rcvr_jobj).Ptr(),
+ soa.Decode<mirror::Object>(rcvr_jobj),
proxy_method,
0);
return 0;
@@ -956,13 +956,13 @@
if (soa.Self()->IsExceptionPending()) {
if (instr->HasMethodUnwindListeners()) {
instr->MethodUnwindEvent(self,
- soa.Decode<mirror::Object>(rcvr_jobj).Ptr(),
+ soa.Decode<mirror::Object>(rcvr_jobj),
proxy_method,
0);
}
} else if (instr->HasMethodExitListeners()) {
instr->MethodExitEvent(self,
- soa.Decode<mirror::Object>(rcvr_jobj).Ptr(),
+ soa.Decode<mirror::Object>(rcvr_jobj),
proxy_method,
0,
result);