Index: runtime/vm/malloc_hooks_arm64.cc |
diff --git a/runtime/vm/malloc_hooks_arm64.cc b/runtime/vm/malloc_hooks_arm64.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..53f2970ce90f04e27974a4aab25c7ef12fec6f31 |
--- /dev/null |
+++ b/runtime/vm/malloc_hooks_arm64.cc |
@@ -0,0 +1,21 @@ |
+// 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. |
+ |
+#include "vm/malloc_hooks.h" |
+ |
+#include "vm/globals.h" |
+ |
+#if defined(TARGET_ARCH_ARM64) |
+ |
+namespace dart { |
+ |
+#if defined(DEBUG) |
+const intptr_t kSkipCount = 6; |
+#elif !(defined(PRODUCT) || defined(DEBUG)) |
+const intptr_t kSkipCount = 5; |
+#endif |
+ |
+} // namespace dart |
+ |
+#endif // defined(TARGET_ARCH_ARM64) |