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

Unified Diff: runtime/vm/kernel_binary.cc

Issue 2425043002: GN: Fix Debug flags. Fix Windows build. (Closed)
Patch Set: Created 4 years, 2 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
« no previous file with comments | « runtime/platform/globals.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/vm/kernel_binary.cc
diff --git a/runtime/vm/kernel_binary.cc b/runtime/vm/kernel_binary.cc
index 407e1a651821001c4bae4670c841a120f5348a8f..6cb8d36aa3efc62b9240ad2769590cb0df4a119c 100644
--- a/runtime/vm/kernel_binary.cc
+++ b/runtime/vm/kernel_binary.cc
@@ -5,6 +5,7 @@
#include <map>
#include <vector>
+#include "platform/globals.h"
#include "vm/flags.h"
#include "vm/kernel.h"
#include "vm/os.h"
@@ -12,11 +13,11 @@
#if defined(DEBUG)
#define TRACE_READ_OFFSET() do { \
if (FLAG_trace_kernel_binary) \
- reader->DumpOffset(__PRETTY_FUNCTION__); \
+ reader->DumpOffset(DART_PRETTY_FUNCTION); \
} while (0)
#define TRACE_WRITE_OFFSET() do { \
if (FLAG_trace_kernel_binary) \
- writer->DumpOffset(__PRETTY_FUNCTION__); \
+ writer->DumpOffset(DART_PRETTY_FUNCTION); \
} while (0)
#else
#define TRACE_READ_OFFSET()
« no previous file with comments | « runtime/platform/globals.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698