summaryrefslogtreecommitdiffhomepage
path: root/ir/be/benode.c
diff options
context:
space:
mode:
authorChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-27 17:36:47 +0200
committerChristoph Mallon <mallon@cs.uni-saarland.de>2015-07-27 21:15:35 +0200
commit809425399aff2903c63de8a4c59fb108ed867936 (patch)
tree9dfda7c1896e44df8de80ca7f3b8e6294ba4adae /ir/be/benode.c
parentde18eba2c4ae9ee380a8b4fc5da69b570ba50b75 (diff)
be: Dump registers and requirements of all middle-end nodes, not just Phis.
Diffstat (limited to 'ir/be/benode.c')
-rw-r--r--ir/be/benode.c21
1 files changed, 0 insertions, 21 deletions
diff --git a/ir/be/benode.c b/ir/be/benode.c
index 9951a5c..74453c9 100644
--- a/ir/be/benode.c
+++ b/ir/be/benode.c
@@ -479,27 +479,6 @@ void be_set_phi_reg_req(ir_node *node, const arch_register_req_t *req)
}
}
-void be_dump_phi_reg_reqs(FILE *F, const ir_node *node, dump_reason_t reason)
-{
- switch (reason) {
- case dump_node_opcode_txt:
- fputs(get_irn_opname(node), F);
- break;
- case dump_node_mode_txt:
- fprintf(F, "%s", get_mode_name(get_irn_mode(node)));
- break;
- case dump_node_nodeattr_txt:
- break;
- case dump_node_info_txt: {
- ir_graph *irg = get_irn_irg(node);
- if (irg_is_constrained(irg, IR_GRAPH_CONSTRAINT_BACKEND)) {
- be_dump_reqs_and_registers(F, node);
- }
- break;
- }
- }
-}
-
ir_node *be_new_Asm(dbg_info *const dbgi, ir_node *const block, int const n_ins, ir_node **const ins, int const n_outs, ident *const text, void *const operands)
{
ir_graph *const irg = get_irn_irg(block);