summaryrefslogtreecommitdiff
path: root/runtime/debugger.cc
diff options
context:
space:
mode:
author Ian Rogers <irogers@google.com> 2013-11-06 20:16:53 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-11-06 20:16:53 +0000
commit56dafdd47cdcde1ba76d6770c506322ffb55b2b3 (patch)
treef2ff7c9ff3d1e23e574b0afeb35c174fe584e934 /runtime/debugger.cc
parent82a9539625f553107b35907f25fb5804a1289936 (diff)
parentfa82427c68b09f4aedbee319dc71579afbfc66f5 (diff)
Merge "Fix oatdump and valgrind." into dalvik-dev
Diffstat (limited to 'runtime/debugger.cc')
-rw-r--r--runtime/debugger.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/debugger.cc b/runtime/debugger.cc
index bdcf6ac6ab..0eecd28831 100644
--- a/runtime/debugger.cc
+++ b/runtime/debugger.cc
@@ -3489,9 +3489,9 @@ void Dbg::SetAllocTrackingEnabled(bool enabled) {
recent_allocation_records_ = new AllocRecord[gAllocRecordMax];
CHECK(recent_allocation_records_ != NULL);
}
- Runtime::Current()->InstrumentQuickAllocEntryPoints();
+ Runtime::Current()->GetInstrumentation()->InstrumentQuickAllocEntryPoints();
} else {
- Runtime::Current()->UninstrumentQuickAllocEntryPoints();
+ Runtime::Current()->GetInstrumentation()->UninstrumentQuickAllocEntryPoints();
delete[] recent_allocation_records_;
recent_allocation_records_ = NULL;
}