Index: runtime/vm/malloc_hooks.cc |
diff --git a/runtime/vm/malloc_hooks.cc b/runtime/vm/malloc_hooks.cc |
index cf1a5a54585cbbd08047036afd561f0eb4f3b941..849f8d5d56928ed4bb812cf0128808426c730578 100644 |
--- a/runtime/vm/malloc_hooks.cc |
+++ b/runtime/vm/malloc_hooks.cc |
@@ -223,6 +223,11 @@ void MallocHooks::ResetStats() { |
} |
+bool MallocHooks::Initialized() { |
+ return MallocHooksState::initialized(); |
+} |
+ |
+ |
intptr_t MallocHooks::allocation_count() { |
MutexLocker ml(MallocHooksState::malloc_hook_mutex()); |
return MallocHooksState::allocation_count(); |