Commit 199ea1a4 authored by Christoph Mallon's avatar Christoph Mallon
Browse files

bearch: Dump the output requirement and the assigned register in the same line...

bearch: Dump the output requirement and the assigned register in the same line for better readability.
parent 1500e59d
......@@ -278,11 +278,8 @@ void arch_dump_reqs_and_registers(FILE *F, const ir_node *node)
const arch_register_req_t *req = arch_get_irn_register_req_out(node, o);
fprintf(F, "outreq #%u = ", o);
arch_dump_register_req(F, req, node);
fputs("\n", F);
}
for (unsigned o = 0; o < n_outs; ++o) {
const arch_register_t *reg = arch_get_irn_register_out(node, o);
fprintf(F, "reg #%u = %s\n", o, reg != NULL ? reg->name : "n/a");
fprintf(F, " [%s]\n", reg != NULL ? reg->name : "n/a");
}
fprintf(F, "flags =");
......
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