summaryrefslogtreecommitdiffhomepage
path: root/ir/common
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-04 20:34:51 +0100
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-01-04 23:25:02 +0100
commit0ac9c22f6ef5dd0c9713c5b9fb46fe331c03c780 (patch)
tree9371fa1d41990a656f1a967ad4847c6d8195b630 /ir/common
parentfcdbc49cedf23128a66eece201800e3bcf19c388 (diff)
debug: Remove the unused macros DBG_RETAIL() and DB_RETAIL().
Diffstat (limited to 'ir/common')
-rw-r--r--ir/common/debug.h18
1 files changed, 2 insertions, 16 deletions
diff --git a/ir/common/debug.h b/ir/common/debug.h
index 9c9388b..0e00ea5 100644
--- a/ir/common/debug.h
+++ b/ir/common/debug.h
@@ -76,20 +76,6 @@ unsigned firm_dbg_get_mask(const firm_dbg_module_t *module);
*/
void firm_dbg_set_file(firm_dbg_module_t *module, FILE *file);
-#define _DBG_MAIN(func,args) \
- _firm_dbg_print_msg(__FILE__, __LINE__, func, _firm_dbg_make_msg args)
-
-#define _DBG(args) _DBG_MAIN(__func__, args)
-#define _DB(args) _firm_dbg_print args
-
-/**
- * Debug messages issued with this macro are always printed, even in
- * retail versions.
- * @see DBG()
- */
-#define DBG_RETAIL(args) _DBG(args)
-#define DB_RETAIL(args) _DB(args)
-
/**
* Issue a debug message.
* @param args The arguments.
@@ -113,8 +99,8 @@ void firm_dbg_set_file(firm_dbg_module_t *module, FILE *file);
* DBG((my_mod, LEVEL_DEFAULT, "entity %e has type %t", ent, type))
* @endcode
*/
-#define DBG(args) _DBG(args)
-#define DB(args) _DB(args)
+#define DBG(args) _firm_dbg_print_msg(__FILE__, __LINE__, __func__, _firm_dbg_make_msg args)
+#define DB(args) _firm_dbg_print args
/** create a debug handle in debug mode */
#define FIRM_DBG_REGISTER(handle, name) handle = firm_dbg_register(name)