| OLD | NEW |
| 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
| 2 // for details. All rights reserved. Use of this source code is governed by a | 2 // for details. All rights reserved. Use of this source code is governed by a |
| 3 // BSD-style license that can be found in the LICENSE file. | 3 // BSD-style license that can be found in the LICENSE file. |
| 4 | 4 |
| 5 #if defined(DART_USE_TCMALLOC) | 5 #if !defined(DART_USE_TCMALLOC) |
| 6 | 6 |
| 7 #include "vm/malloc_hooks.h" | 7 #include "vm/malloc_hooks.h" |
| 8 | 8 |
| 9 namespace dart { | 9 namespace dart { |
| 10 | 10 |
| 11 void MallocHooks::Init() { | 11 void MallocHooks::Init() { |
| 12 // TODO(bkonyi): Implement | 12 // Do nothing. |
| 13 } |
| 14 |
| 15 |
| 16 void MallocHooks::TearDown() { |
| 17 // Do nothing. |
| 13 } | 18 } |
| 14 | 19 |
| 15 } // namespace dart | 20 } // namespace dart |
| 16 | 21 |
| 17 #endif // defined(DART_USE_TCMALLOC) | 22 #endif // defined(DART_USE_TCMALLOC) |
| OLD | NEW |