projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix wrong assert, expor copy_node_attr function to public API
[libfirm]
/
ir
/
lower
/
lower_hl.c
diff --git
a/ir/lower/lower_hl.c
b/ir/lower/lower_hl.c
index
2a131c9
..
1ea642c
100644
(file)
--- a/
ir/lower/lower_hl.c
+++ b/
ir/lower/lower_hl.c
@@
-141,12
+141,12
@@
static void lower_sel(ir_node *sel) {
assert(irg == current_ir_graph);
if (! is_Unknown(lb))
assert(irg == current_ir_graph);
if (! is_Unknown(lb))
- lb = new_rd_Conv(dbg, irg, bl, copy_const_value(get_irn_dbg_info(sel), lb), mode_Int
, 0
);
+ lb = new_rd_Conv(dbg, irg, bl, copy_const_value(get_irn_dbg_info(sel), lb), mode_Int);
else
lb = NULL;
if (! is_Unknown(ub))
else
lb = NULL;
if (! is_Unknown(ub))
- ub = new_rd_Conv(dbg, irg, bl, copy_const_value(get_irn_dbg_info(sel), ub), mode_Int
, 0
);
+ ub = new_rd_Conv(dbg, irg, bl, copy_const_value(get_irn_dbg_info(sel), ub), mode_Int);
else
ub = NULL;
else
ub = NULL;
@@
-162,7
+162,7
@@
static void lower_sel(ir_node *sel) {
elms = new_rd_Sub(dbg, irg, bl, ub, lb, mode_Int);
}
elms = new_rd_Sub(dbg, irg, bl, ub, lb, mode_Int);
}
- ind = new_rd_Conv(dbg, irg, bl, get_Sel_index(sel, dim), mode_Int
, 0
);
+ ind = new_rd_Conv(dbg, irg, bl, get_Sel_index(sel, dim), mode_Int);
/*
* Normalize index, id lower bound is set, also assume
/*
* Normalize index, id lower bound is set, also assume
@@
-303,9
+303,6
@@
static void lower_symconst(ir_node *symc) {
hook_lower(symc);
exchange(symc, newn);
break;
hook_lower(symc);
exchange(symc, newn);
break;
- case symconst_label:
- /* leave */
- break;
default:
assert(!"unknown SymConst kind");
default:
assert(!"unknown SymConst kind");