Commit 75719cce authored by Christoph Mallon's avatar Christoph Mallon
Browse files

Correct bemit_${OP}() and bemit_${OP}mem().

parent 24d40727
...@@ -2319,7 +2319,7 @@ static void bemit_##op(const ir_node *node) \ ...@@ -2319,7 +2319,7 @@ static void bemit_##op(const ir_node *node) \
} \ } \
} else { \ } else { \
bemit8(ext << 3 | 1); \ bemit8(ext << 3 | 1); \
bemit_mod_am(reg_gp_map[arch_get_irn_register_out(val, 0)->index], node); \ bemit_mod_am(reg_gp_map[arch_get_irn_register(val)->index], node); \
} \ } \
} \ } \
\ \
...@@ -2332,7 +2332,7 @@ static void bemit_##op##8bit(const ir_node *node) \ ...@@ -2332,7 +2332,7 @@ static void bemit_##op##8bit(const ir_node *node) \
bemit8(get_ia32_immediate_attr_const(val)->offset); \ bemit8(get_ia32_immediate_attr_const(val)->offset); \
} else { \ } else { \
bemit8(ext << 3); \ bemit8(ext << 3); \
bemit_mod_am(reg_gp_map[arch_get_irn_register_out(val, 0)->index], node); \ bemit_mod_am(reg_gp_map[arch_get_irn_register(val)->index], node); \
} \ } \
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment