1169689Skan/* Memory statistics helpers. 2169689Skan Copyright (C) 2004 3169689Skan Free Software Foundation, Inc. 4169689Skan Contributed by Cygnus Solutions. 5169689Skan 6169689Skan This file is part of GCC. 7169689Skan 8169689Skan GCC is free software; you can redistribute it and/or modify it 9169689Skan under the terms of the GNU General Public License as published by 10169689Skan the Free Software Foundation; either version 2, or (at your option) 11169689Skan any later version. 12169689Skan 13169689Skan GCC is distributed in the hope that it will be useful, but WITHOUT 14169689Skan ANY WARRANTY; without even the implied warranty of MERCHANTABILITY 15169689Skan or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public 16169689Skan License for more details. 17169689Skan 18169689Skan You should have received a copy of the GNU General Public License 19169689Skan along with GCC; see the file COPYING. If not, write to the Free 20169689Skan the Free Software Foundation, 51 Franklin Street, Fifth Floor, Boston, 21169689Skan MA 02110-1301, USA. */ 22169689Skan 23169689Skan#ifndef GCC_STATISTICS 24169689Skan#define GCC_STATISTICS 25169689Skan#ifdef GATHER_STATISTICS 26169689Skan#define MEM_STAT_DECL , const char * ARG_UNUSED (_loc_name), int ARG_UNUSED (_loc_line), const char * ARG_UNUSED (_loc_function) 27169689Skan#define PASS_MEM_STAT , _loc_name, _loc_line, _loc_function 28169689Skan#define MEM_STAT_INFO , __FILE__, __LINE__, __FUNCTION__ 29169689Skan#else 30169689Skan#define MEM_STAT_DECL 31169689Skan#define PASS_MEM_STAT 32169689Skan#define MEM_STAT_INFO 33169689Skan#endif 34169689Skan#endif 35