Index: runtime/vm/malloc_hooks_unsupported.cc |
diff --git a/runtime/vm/malloc_hooks_unsupported.cc b/runtime/vm/malloc_hooks_unsupported.cc |
index 1f8b75a45ddfca65d2123a0469db91b96d5d05b5..733e3ded74efdad658a44870dfedb9d540701805 100644 |
--- a/runtime/vm/malloc_hooks_unsupported.cc |
+++ b/runtime/vm/malloc_hooks_unsupported.cc |
@@ -4,8 +4,7 @@ |
#include "platform/globals.h" |
-#if !defined(DART_USE_TCMALLOC) || defined(PRODUCT) || \ |
- defined(TARGET_ARCH_DBC) || defined(TARGET_OS_FUCHSIA) |
+#if !defined(DART_USE_TCMALLOC) || defined(PRODUCT) |
#include "vm/malloc_hooks.h" |
@@ -21,21 +20,6 @@ void MallocHooks::TearDown() { |
} |
-bool MallocHooks::ProfilingEnabled() { |
- return false; |
-} |
- |
- |
-bool MallocHooks::stack_trace_collection_enabled() { |
- return false; |
-} |
- |
- |
-void MallocHooks::set_stack_trace_collection_enabled(bool enabled) { |
- // Do nothing. |
-} |
- |
- |
void MallocHooks::ResetStats() { |
// Do nothing. |
} |
@@ -62,5 +46,4 @@ intptr_t MallocHooks::heap_allocated_memory_in_bytes() { |
} // namespace dart |
-#endif // !defined(DART_USE_TCMALLOC) || defined(PRODUCT) || |
- // defined(TARGET_ARCH_DBC) || defined(TARGET_OS_FUCHSIA) |
+#endif // defined(DART_USE_TCMALLOC) || defined(PRODUCT) |