projects
/
libfirm
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Convenience macros for node bitmaps
[libfirm]
/
ir
/
opt
/
opt_polymorphy.c
diff --git
a/ir/opt/opt_polymorphy.c
b/ir/opt/opt_polymorphy.c
index
4845a8f
..
c11be8c
100644
(file)
--- a/
ir/opt/opt_polymorphy.c
+++ b/
ir/opt/opt_polymorphy.c
@@
-115,7
+115,7
@@
ir_node *transform_node_Load(ir_node *n)
field_ptr = get_Load_ptr(n);
- if (
get_irn_op(field_ptr) != op_Sel
) return n;
+ if (
! is_Sel(field_ptr)
) return n;
ent = get_Sel_entity(field_ptr);
if ((get_entity_allocation(ent) != allocation_static) ||