Index: runtime/vm/malloc_hooks_unsupported.cc |
diff --git a/runtime/vm/malloc_hooks_unsupported.cc b/runtime/vm/malloc_hooks_unsupported.cc |
index 6f16518312f54210be66d63cc3afc6f689524a5c..65edca7bff776d8d8c571b97c1e3e95c0e199a2c 100644 |
--- a/runtime/vm/malloc_hooks_unsupported.cc |
+++ b/runtime/vm/malloc_hooks_unsupported.cc |
@@ -2,38 +2,16 @@ |
// for details. All rights reserved. Use of this source code is governed by a |
// BSD-style license that can be found in the LICENSE file. |
-#include "platform/globals.h" |
- |
-#if !defined(DART_USE_TCMALLOC) || defined(PRODUCT) |
+#if defined(DART_USE_TCMALLOC) |
#include "vm/malloc_hooks.h" |
namespace dart { |
void MallocHooks::Init() { |
- // Do nothing. |
-} |
- |
- |
-void MallocHooks::TearDown() { |
- // Do nothing. |
-} |
- |
- |
-void MallocHooks::Reset() { |
- // Do nothing. |
-} |
- |
- |
-uintptr_t MallocHooks::allocation_count() { |
- return 0; |
-} |
- |
- |
-uintptr_t MallocHooks::heap_allocated_memory_in_bytes() { |
- return 0; |
+ // TODO(bkonyi): Implement |
} |
} // namespace dart |
-#endif // defined(DART_USE_TCMALLOC) || defined(PRODUCT) |
+#endif // defined(DART_USE_TCMALLOC) |