summaryrefslogtreecommitdiff
path: root/gcc/statistics.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/statistics.h')
-rw-r--r--gcc/statistics.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/statistics.h b/gcc/statistics.h
index a75743c3a9a..b7bdcd70f40 100644
--- a/gcc/statistics.h
+++ b/gcc/statistics.h
@@ -24,11 +24,17 @@
#define GCC_STATISTICS
#ifdef GATHER_STATISTICS
#define MEM_STAT_DECL , const char * ARG_UNUSED (_loc_name), int ARG_UNUSED (_loc_line), const char * ARG_UNUSED (_loc_function)
+#define ALONE_MEM_STAT_DECL const char * ARG_UNUSED (_loc_name), int ARG_UNUSED (_loc_line), const char * ARG_UNUSED (_loc_function)
#define PASS_MEM_STAT , _loc_name, _loc_line, _loc_function
+#define ALONE_PASS_MEM_STAT _loc_name, _loc_line, _loc_function
#define MEM_STAT_INFO , __FILE__, __LINE__, __FUNCTION__
+#define ALONE_MEM_STAT_INFO __FILE__, __LINE__, __FUNCTION__
#else
#define MEM_STAT_DECL
+#define ALONE_MEM_STAT_DECL void
#define PASS_MEM_STAT
+#define ALONE_PASS_MEM_STAT
#define MEM_STAT_INFO
+#define ALONE_MEM_STAT_INFO
#endif
#endif