From a74e76f9139878f550858941bfa3b2443da498b4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Thu, 2 Sep 2004 14:18:30 +0000 Subject: [PATCH] comments comments [r3817] --- ir/common/firm_common_t.h | 38 ++++++++++++++++---------------------- ir/common/old_fctnames.h | 6 +++++- 2 files changed, 21 insertions(+), 23 deletions(-) diff --git a/ir/common/firm_common_t.h b/ir/common/firm_common_t.h index d59b4730b..7e726beeb 100644 --- a/ir/common/firm_common_t.h +++ b/ir/common/firm_common_t.h @@ -21,41 +21,35 @@ # ifndef _COMMON_T_H_ # define _COMMON_T_H_ +#ifdef HAVE_CONFIG_H +# include +#endif + #include "firm_common.h" -/* --- Global flags. Set these by autoconf?? --- */ +/* --- Global flags. --- */ /** When set Phi node construction uses the values valid when the fragile - operation is executed. Else it uses the values valid at the end of the - block with the fragile operation. */ + * operation is executed. Else it uses the values valid at the end of the + * block with the fragile operation. */ #define PRECISE_EXC_CONTEXT 1 /** There are two implementations of the Phi node construction. The first - is faster, but does not work for blocks with more than 2 predecessors. - The second works always but is slower and causes more unnecessary Phi - nodes. - Select the implementations by the following preprocessor flag: */ + * is faster, but does not work for blocks with more than 2 predecessors. + * The second works always but is slower and causes more unnecessary Phi + * nodes. + * Select the implementations by the following preprocessor flag: */ #define USE_FAST_PHI_CONSTRUCTION 0 /** Further there are two versions of the fast Phi node construction. - If the following flag is set, new_r_Phi_in uses an explicit stack for - allocating and deallocating Phi nodes. Else it uses the obstack - as a stack! */ + * If the following flag is set, new_r_Phi_in uses an explicit stack for + * allocating and deallocating Phi nodes. Else it uses the obstack + * as a stack! */ #define USE_EXPLICIT_PHI_IN_STACK 0 -/* - * If this is defined debuging aids are created, e.g. a field in - * ir_node uniquely numbering the nodes. - * #define DEBUG_libfirm 1 - * This is now set by the configure script as an option. - */ -#ifdef HAVE_CONFIG_H -# include -#endif - /** If this and DEBUG_libfirm are defined irdump uses the nodeid numbers as - labels for the vcg nodes. This makes the vcg graph better readable. - Sometimes it's useful to see the pointer values, though. */ + * labels for the vcg nodes. This makes the vcg graph better readable. + * Sometimes it's useful to see the pointer values, though. */ #define NODEID_AS_LABEL 1 # endif /*_COMMON_T_H_ */ diff --git a/ir/common/old_fctnames.h b/ir/common/old_fctnames.h index c7306acb8..cf2562cce 100644 --- a/ir/common/old_fctnames.h +++ b/ir/common/old_fctnames.h @@ -22,7 +22,6 @@ #define mature_block(X) mature_immBlock(X) #define switch_block(X) set_cur_block(X) - /* irgraph */ #define get_irg_ent(X) get_irg_entity(X) #define get_irg_params get_irg_n_locs @@ -70,6 +69,11 @@ #define pinned op_pin_state_pinned #define op_pinned op_pin_state +/* irdump */ +#define dump_cg_graph dump_ir_graph +#define dump_cg_block_graph dump_ir_block_graph +extern char *dump_file_filter; /* use the setter instead. */ + /* type.h */ #define get_type_nameid(_t_) get_type_ident(_t_) #define set_type_nameid(_t_,_i_) set_type_ident(_t_,_i_) -- 2.20.1