From: FIRM Projekt Account Date: Mon, 2 Jan 2006 15:45:40 +0000 (+0000) Subject: renamed NODE_VERIFICATION_* to newer FIRM_VERIFICATION_* X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=93f9343ae9622722eff588321e818cc4972bcdd7;p=libfirm renamed NODE_VERIFICATION_* to newer FIRM_VERIFICATION_* renamed old type 'type' into ir_type [r7185] --- diff --git a/testprograms/if_while_example.c b/testprograms/if_while_example.c index 433758c83..a88b65dee 100644 --- a/testprograms/if_while_example.c +++ b/testprograms/if_while_example.c @@ -44,9 +44,9 @@ int main(void) { ir_graph *irg; - type *owner; - type *proc_main; - type *prim_t_int; + ir_type *owner; + ir_type *proc_main; + ir_type *prim_t_int; entity *ent; ir_node *b, *x, *r, *t, *f; @@ -139,7 +139,7 @@ main(void) local_optimize_graph(irg); dead_node_elimination(irg); - compute_outs(irg); + compute_irg_outs(irg); /* verify the graph */ irg_vrfy(irg); diff --git a/testprograms/loop_unroll_example.c b/testprograms/loop_unroll_example.c index a8838cb09..d90454b9c 100644 --- a/testprograms/loop_unroll_example.c +++ b/testprograms/loop_unroll_example.c @@ -49,7 +49,7 @@ static int i_pos = 0; static int arr_pos = 1; -static type *typ, *typ2; +static ir_type *typ, *typ2; static ir_node *r1, *f, *r, *c2; @@ -72,7 +72,7 @@ typedef enum { * @param fct_name the name of the function * @param loop_dir the loop direction */ -static void function_begin(type *owner, type *mtp, char *fct_name, loop_dir_t loop_dir) { +static void function_begin(ir_type *owner, ir_type *mtp, char *fct_name, loop_dir_t loop_dir) { symconst_symbol sym; ir_node *x, *t, *cmp; @@ -94,7 +94,7 @@ static void function_begin(type *owner, type *mtp, char *fct_name, loop_dir_t lo entity *ent = new_entity (owner, new_id_from_str(fct_name), mtp); /* make type infromation for the array */ - type *array_type = new_type_array(new_id_from_str("array"), N_DIMS, typ); + ir_type *array_type = new_type_array(new_id_from_str("array"), N_DIMS, typ); /* set the bounds for the array */ set_array_bounds_int(array_type, 0, L_BOUND, U_BOUND); @@ -175,9 +175,9 @@ int main(void) { ir_graph *irg; - type *owner; + ir_type *owner; entity *ent, *array_ent, *array_ent2; - type *proc_tp, *array_type, *array_type2; /* type information for the method main */ + ir_type *proc_tp, *array_type, *array_type2; /* type information for the method main */ ir_node *x,*x1 , *r, *t, *f, *f1, *t1, *cmp, *r1, *r2; int i_pos; @@ -187,7 +187,7 @@ main(void) arch_dep_set_opts(arch_dep_none); - do_node_verification(NODE_VERIFICATION_REPORT); + do_node_verification(FIRM_VERIFICATION_REPORT); typ = new_type_primitive(new_id_from_chars(PRIM_NAME, strlen(PRIM_NAME)), mode_Is); diff --git a/testprograms/strength_red_example.c b/testprograms/strength_red_example.c index 48a2a8aec..536159a6f 100644 --- a/testprograms/strength_red_example.c +++ b/testprograms/strength_red_example.c @@ -60,7 +60,7 @@ static int i_pos = 0; static int arr_pos = 1; -static type *typ, *typ2; +static ir_type *typ, *typ2; static ir_node *r1, *f, *r, *c2; @@ -83,7 +83,7 @@ typedef enum { * @param fct_name the name of the function * @param loop_dir the loop direction */ -static void function_begin(type *owner, type *mtp, char *fct_name, loop_dir_t loop_dir) { +static void function_begin(ir_type *owner, ir_type *mtp, char *fct_name, loop_dir_t loop_dir) { symconst_symbol sym; ir_node *x, *t, *cmp; @@ -105,7 +105,7 @@ static void function_begin(type *owner, type *mtp, char *fct_name, loop_dir_t lo entity *ent = new_entity (owner, new_id_from_str(fct_name), mtp); /* make type infromation for the array */ - type *array_type = new_type_array(new_id_from_str("array"), N_DIMS, typ); + ir_type *array_type = new_type_array(new_id_from_str("array"), N_DIMS, typ); /* set the bounds for the array */ set_array_bounds_int(array_type, 0, L_BOUND, U_BOUND); @@ -186,9 +186,9 @@ int main(void) { ir_graph *irg; - type *owner; + ir_type *owner; entity *ent, *array_ent, *array_ent2; - type *proc_tp, *array_type, *array_type2; /* type information for the method main */ + ir_type *proc_tp, *array_type, *array_type2; /* type information for the method main */ ir_node *x,*x1 , *r, *t, *f, *f1, *t1, *cmp, *r1, *r2; int i_pos; @@ -198,7 +198,7 @@ main(void) arch_dep_set_opts(arch_dep_none); - do_node_verification(NODE_VERIFICATION_REPORT); + do_node_verification(FIRM_VERIFICATION_REPORT); typ = new_type_primitive(new_id_from_chars(PRIM_NAME, strlen(PRIM_NAME)), mode_Is);