Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(107)

Unified Diff: runtime/vm/malloc_hooks_arm64.cc

Issue 2828383002: When collecting traces for native allocation, we depend on the architecture the native code is runn… (Closed)
Patch Set: . Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: runtime/vm/malloc_hooks_arm64.cc
diff --git a/runtime/vm/malloc_hooks_arm64.cc b/runtime/vm/malloc_hooks_arm64.cc
index 53f2970ce90f04e27974a4aab25c7ef12fec6f31..e50ea0b24c3fcc4f73e00110ef7067469c02e034 100644
--- a/runtime/vm/malloc_hooks_arm64.cc
+++ b/runtime/vm/malloc_hooks_arm64.cc
@@ -6,16 +6,12 @@
#include "vm/globals.h"
-#if defined(TARGET_ARCH_ARM64)
+#if defined(HOST_ARCH_ARM64)
namespace dart {
-#if defined(DEBUG)
-const intptr_t kSkipCount = 6;
bkonyi 2017/04/20 18:10:30 Is there any reason this was removed? Have you tri
-#elif !(defined(PRODUCT) || defined(DEBUG))
const intptr_t kSkipCount = 5;
-#endif
} // namespace dart
-#endif // defined(TARGET_ARCH_ARM64)
+#endif // defined(HOST_ARCH_ARM64)

Powered by Google App Engine
This is Rietveld 408576698