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
/
ldstopt.c
diff --git
a/ir/opt/ldstopt.c
b/ir/opt/ldstopt.c
index
5aa9947
..
2e9aeea
100644
(file)
--- a/
ir/opt/ldstopt.c
+++ b/
ir/opt/ldstopt.c
@@
-421,7
+421,7
@@
static unsigned optimize_load(ir_node *load)
* like x = new O; x->t;
*/
if (info->projs[pn_Load_X_except]) {
- if (
get_irn_op(ptr) == op_Sel
) {
+ if (
is_Sel(ptr)
) {
ir_node *mem = get_Sel_mem(ptr);
if (get_irn_op(skip_Proj(mem)) == op_Alloc) {