X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fopt%2Fopt_osr.c;h=3175ca94d6ab093c890e3411b4c2da307bb9a815;hb=11b00882d8ddbf207c31565a51030408c8fd646b;hp=5035567ce39c316d9e6be95a3dba7b2135dff998;hpb=5619c9122551713adbefc33977572639408dd8b9;p=libfirm diff --git a/ir/opt/opt_osr.c b/ir/opt/opt_osr.c index 5035567ce..3175ca94d 100644 --- a/ir/opt/opt_osr.c +++ b/ir/opt/opt_osr.c @@ -49,7 +49,7 @@ #include "irtools.h" #include "irloop_t.h" #include "array.h" -#include "firmstat.h" +#include "firmstat_t.h" #include "error.h" #include "irpass_t.h" @@ -164,7 +164,7 @@ static void LFTR_add(ir_node *src, ir_node *dst, unsigned code, ir_node *rc, iv_ * There might be more than one edge here. This is rather bad * because we currently store only one. */ - set_insert(LFTR_edge, env->lftr_edges, &key, sizeof(key), hash_ptr(src)); + (void)set_insert(LFTR_edge, env->lftr_edges, &key, sizeof(key), hash_ptr(src)); } /* LFTR_add */ /** @@ -277,7 +277,7 @@ static void add(unsigned code, ir_node *op1, ir_node *op2, ir_node *result, iv_e key.op2 = op2; key.res = result; - set_insert(quadruple_t, env->quad_map, &key, sizeof(key), (code * 9) ^ hash_ptr(op1) ^ hash_ptr(op2)); + (void)set_insert(quadruple_t, env->quad_map, &key, sizeof(key), (code * 9) ^ hash_ptr(op1) ^ hash_ptr(op2)); } /* add */ /**