5 File name: ir/ana/pto_debug.c
6 Purpose: Useful Macros for Debugging
9 Created: Sat Nov 13 19:30:21 CET 2004
11 Copyright: (c) 1999-2004 Universität Karlsruhe
12 Licence: This file is protected by the GPL - GNU GENERAL PUBLIC LICENSE.
20 pto_debug: Useful Macros for Debugging
23 # include "pto_debug.h"
24 # include "pto_comp.h"
27 /* # include "xmalloc.h" */
31 /* Local Data Types: */
33 /* Local Variables: */
34 static int dbg_lvl = 0;
36 /* Local Prototypes: */
38 /* ===================================================
40 =================================================== */
43 /* ===================================================
44 Exported Implementation:
45 =================================================== */
51 void set_dbg_lvl (int lvl)
56 void pto_print_pto (ir_node *node)
58 pto_t *pto = get_node_pto (node);
60 fprintf (stdout, "pto (%s[%li]) = ", OPNAME (node), OPNUM (node));
62 qset_print (pto->values, stdout);
64 fprintf (stdout, "NULL");
72 Revision 1.4 2004/12/20 17:34:35 liekweg
73 fix recursion handling
75 Revision 1.3 2004/12/02 16:17:51 beck
76 fixed config.h include
78 Revision 1.2 2004/11/24 14:53:56 liekweg
81 Revision 1.1 2004/11/18 16:37:34 liekweg