Index: runtime/vm/malloc_hooks.cc |
diff --git a/runtime/vm/malloc_hooks.cc b/runtime/vm/malloc_hooks.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..aa5d108120f07a5ffe9b5a41e4f8c3cc8d056f84 |
--- /dev/null |
+++ b/runtime/vm/malloc_hooks.cc |
@@ -0,0 +1,16 @@ |
+// Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file |
+// 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. |
+ |
+#ifdef DART_USE_TCMALLOC |
zra
2017/01/06 16:13:17
nit: We tend to use "#if defined(DART_USE_TCMALLOC
bkonyi
2017/01/06 20:23:34
Done.
|
+ |
+#include "vm/malloc_hooks.h" |
+ |
+namespace dart { |
+ |
+void MallocHooks::Init() { |
+ // TODO(bkonyi): Implement |
+} |
+ |
+} // namespace dart |
+#endif |
zra
2017/01/06 16:13:17
Missing whitespace before this line. Also should s
bkonyi
2017/01/06 20:23:34
Done.
|