ART: Fix typo
Follow-up to commit 27fa96c285c4aa2f64e9bb63a3f38ffdc98c282a.
Bug: 31684277
Test: m test-art-host
Change-Id: I165b350f6c1a216ed6a7ca648abd6004c662c1cb
diff --git a/runtime/gc/heap.cc b/runtime/gc/heap.cc
index d323f60..770a55d 100644
--- a/runtime/gc/heap.cc
+++ b/runtime/gc/heap.cc
@@ -4196,7 +4196,7 @@
AllocationListener* old = GetAndOverwriteAllocationListener(&alloc_listener_, nullptr);
if (old != nullptr) {
- Runtime::Current()->GetInstrumentation()->InstrumentQuickAllocEntryPoints();
+ Runtime::Current()->GetInstrumentation()->UninstrumentQuickAllocEntryPoints();
}
}