Commit d1529a5e authored by Christoph Mallon's avatar Christoph Mallon
Browse files

all: Use get_irn_opname(x) instead of get_op_name(get_irn_op(x)).

parent 147d50a9
......@@ -1005,7 +1005,7 @@ 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_op_name(get_irn_op(node)), F);
fputs(get_irn_opname(node), F);
break;
case dump_node_mode_txt:
fprintf(F, "%s", get_mode_name(get_irn_mode(node)));
......@@ -1042,7 +1042,7 @@ static void dump_node(FILE *f, const ir_node *irn, dump_reason_t reason)
switch (reason) {
case dump_node_opcode_txt:
fputs(get_op_name(get_irn_op(irn)), f);
fputs(get_irn_opname(irn), f);
break;
case dump_node_mode_txt:
if (be_is_Copy(irn) || be_is_CopyKeep(irn)) {
......
......@@ -1846,7 +1846,7 @@ static void dump_block_to_cfg(ir_node *block, void *env)
if (block == get_irg_end_block(get_irn_irg(block)))
fprintf(F, "End ");
fprintf(F, "%s ", get_op_name(get_irn_op(block)));
fprintf(F, "%s ", get_irn_opname(block));
print_nodeid(F, block);
fprintf(F, "\" ");
fprintf(F, "info1:\"");
......
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