From: Florian Liekweg Date: Tue, 9 Nov 2004 16:46:01 +0000 (+0000) Subject: new DBGEXE macro X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=85d00846ef69f0e0aec1f90e35aca988d54a59e1;p=libfirm new DBGEXE macro [r4333] --- diff --git a/ir/ana2/pto_util.c b/ir/ana2/pto_util.c index 178a70e09..6010f86bc 100644 --- a/ir/ana2/pto_util.c +++ b/ir/ana2/pto_util.c @@ -32,6 +32,7 @@ int get_pto_verbose (void); /* grrr, can't include pto.h */ # define DBGPRINT(lvl, msg) if (get_pto_verbose () > lvl) { fprintf msg; } +# define DBGEXE(lvl, cmd) if (get_pto_verbose () > lvl) { cmd; } static int pto_id = 0; /* only for pto_t->kind */ @@ -526,6 +527,9 @@ void pto_enter (obj_desc_t *obj_desc, entity *ent, pto_t *pto) /* $Log$ + Revision 1.5 2004/11/09 16:46:01 liekweg + new DBGEXE macro + Revision 1.4 2004/11/08 12:33:06 liekweg initialisation; sanitize print levels, misc fixes