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

Unified Diff: runtime/vm/malloc_hooks_x64.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_x64.cc
diff --git a/runtime/vm/malloc_hooks_x64.cc b/runtime/vm/malloc_hooks_x64.cc
index 6cca793a90f4e35da9b36cb5e68a3c5358b46429..2ec564b00954c1e05bb5d3d30ab4f08db497be39 100644
--- a/runtime/vm/malloc_hooks_x64.cc
+++ b/runtime/vm/malloc_hooks_x64.cc
@@ -6,7 +6,7 @@
#include "vm/globals.h"
-#if defined(TARGET_ARCH_X64)
+#if defined(HOST_ARCH_X64)
namespace dart {
@@ -18,4 +18,4 @@ const intptr_t kSkipCount = 5;
} // namespace dart
-#endif // defined(TARGET_ARCH_X64)
+#endif // defined(HOST_ARCH_X64)
« runtime/vm/malloc_hooks_tcmalloc.cc ('K') | « runtime/vm/malloc_hooks_unsupported.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698