X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fopt_osr.c;h=5bbff09354aa27840f4c0173ae80854c38b261a6;hb=9bb022c5e36fbfa02b79241d8c1c7e0102cf83d5;hp=c646988d11f5507f49885e74a001947cc771b1c4;hpb=0d470055af1b3bc6c917e6f004123e5aab47de8f;p=libfirm diff --git a/ir/opt/opt_osr.c b/ir/opt/opt_osr.c index c646988d1..5bbff0935 100644 --- a/ir/opt/opt_osr.c +++ b/ir/opt/opt_osr.c @@ -31,7 +31,7 @@ #include "config.h" #endif -#include "opt_osr.h" +#include "iroptimize.h" #include "irgraph.h" #include "ircons.h" #include "irop_t.h" @@ -117,6 +117,7 @@ static ir_node *reduce(ir_node *orig, ir_node *iv, ir_node *rc, iv_env *env); static int LFTR_cmp(const void *e1, const void *e2, size_t size) { const LFTR_edge *l1 = e1; const LFTR_edge *l2 = e2; + (void) size; return l1->src != l2->src; } @@ -198,6 +199,7 @@ static int is_rc(ir_node *irn, ir_node *header_block) { static int quad_cmp(const void *e1, const void *e2, size_t size) { const quadruple_t *c1 = e1; const quadruple_t *c2 = e2; + (void) size; return c1->code != c2->code || c1->op1 != c2->op1 || c1->op2 != c2->op2; } @@ -1015,6 +1017,7 @@ static void lftr(ir_graph *irg, iv_env *env) { */ static void clear_and_fix(ir_node *irn, void *env) { + (void) env; set_irn_link(irn, NULL); if (is_Proj(irn)) {