Index: runtime/vm/native_arguments.h |
diff --git a/runtime/vm/native_arguments.h b/runtime/vm/native_arguments.h |
index ded8b85ec0cafa4317595184565cce3a0f1f6807..1763c8c67ee5427b713ed28b046b812320458b90 100644 |
--- a/runtime/vm/native_arguments.h |
+++ b/runtime/vm/native_arguments.h |
@@ -62,11 +62,15 @@ class Thread; |
#endif |
+#ifndef PRODUCT |
#define TRACE_NATIVE_CALL(format, name) \ |
if (FLAG_trace_natives) { \ |
OS::Print("Calling native: " format "\n", name); \ |
} |
- |
+#else |
+#define TRACE_NATIVE_CALL(format, name) \ |
+ do { } while (0) |
+#endif |
// Class NativeArguments is used to access arguments passed in from |
// generated dart code to a runtime function or a dart library native |