Commit 0442a287 authored by Christian Würdig's avatar Christian Würdig
Browse files

fixed some bugs

parent 03482b46
......@@ -267,6 +267,11 @@ static const char *get_ia32_reg_name(ir_node *irn, int pos, enum io_direction in
reg = get_in_reg(irn, pos);
}
else {
/* destination address mode nodes don't have outputs */
if (get_ia32_op_type(irn) == ia32_AddrModeD) {
return "MEM";
}
reg = get_out_reg(irn, pos);
}
......
Markdown is supported
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