projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Use [gs]et_irn_n() instead of direct access to the in array
[libfirm]
/
ir
/
ana
/
irconsconfirm.c
diff --git
a/ir/ana/irconsconfirm.c
b/ir/ana/irconsconfirm.c
index
75131fc
..
3830849
100644
(file)
--- a/
ir/ana/irconsconfirm.c
+++ b/
ir/ana/irconsconfirm.c
@@
-71,7
+71,7
@@
static void handle_case(ir_node *block, ir_node *irn, long nr, env_t *env)
if (! c) {
ir_mode *mode = get_irn_mode(irn);
-
type *tp
= get_irn_type(irn);
+
ir_type *tp
= get_irn_type(irn);
tarval *tv = new_tarval_from_long(nr, mode);
c = new_r_Const_type(current_ir_graph, block, mode, tv, tp);
}