From: Andreas Schösser Date: Fri, 30 Mar 2007 16:47:45 +0000 (+0000) Subject: changed inline to INLINE, removed C99 X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=46baf72dc9749bb46c52ca6514e80133535a1e1c;p=libfirm changed inline to INLINE, removed C99 [r12607] --- diff --git a/ir/be/beirgmod.c b/ir/be/beirgmod.c index ae92810d9..bf69d3edc 100644 --- a/ir/be/beirgmod.c +++ b/ir/be/beirgmod.c @@ -335,6 +335,7 @@ ir_node **be_ssa_construction(const be_dom_front_info_t *domfronts, be_lv_t *lv, foreach_out_edge_safe(value, edge, next) { ir_node *use = get_edge_src_irn(edge); ir_node *at = use; + ir_node *def; int pos = get_edge_src_pos(edge); if(ignore_uses != NULL && ir_nodeset_contains(ignore_uses, use)) @@ -346,7 +347,7 @@ ir_node **be_ssa_construction(const be_dom_front_info_t *domfronts, be_lv_t *lv, at = sched_last(predblock); } - ir_node *def = search_def(&env, at); + def = search_def(&env, at); if(def == NULL) { panic("no definition found for %+F at position %d\n", use, pos); @@ -446,6 +447,7 @@ void be_ssa_constr_set_ignore(const be_dom_front_info_t *domfronts, be_lv_t *lv, foreach_out_edge_safe(value, edge, next) { ir_node *use = get_edge_src_irn(edge); ir_node *at = use; + ir_node *def; int pos = get_edge_src_pos(edge); if(ignores != NULL && pset_find_ptr(ignores, use)) @@ -457,7 +459,7 @@ void be_ssa_constr_set_ignore(const be_dom_front_info_t *domfronts, be_lv_t *lv, at = sched_last(predblock); } - ir_node *def = search_def(&env, at); + def = search_def(&env, at); if(def == NULL) { panic("no definition found for %+F input %d\n", use, pos); diff --git a/ir/be/benode.c b/ir/be/benode.c index 399dc92d0..90b49fe25 100644 --- a/ir/be/benode.c +++ b/ir/be/benode.c @@ -190,7 +190,7 @@ static INLINE be_req_t *get_be_req(const ir_node *node, int pos) return pos < 0 ? &rd->req : &rd->in_req; } -static inline arch_register_req_t *get_req(const ir_node *node, int pos) +static INLINE arch_register_req_t *get_req(const ir_node *node, int pos) { be_req_t *bereq = get_be_req(node, pos); return &bereq->req; diff --git a/ir/be/bera.c b/ir/be/bera.c index b77b2e0a5..e453262f5 100644 --- a/ir/be/bera.c +++ b/ir/be/bera.c @@ -24,7 +24,7 @@ be_ra_timer_t *global_ra_timer = NULL; -static inline +static INLINE sched_timestep_t get_time_step(const ir_node *irn) { if(is_Phi(irn))