Remove dump_prefix_expression

Since the expression rewrite, dump_prefix_expression has been
misnamed.  This patch cleans this up by removing the function, turning
it into a method on struct expression.
This commit is contained in:
Tom Tromey
2022-11-01 13:24:32 -06:00
parent 1f7b42d52a
commit 1970731043
4 changed files with 8 additions and 10 deletions

View File

@@ -59,12 +59,6 @@ op_name (enum exp_opcode opcode)
}
}
void
dump_prefix_expression (struct expression *exp, struct ui_file *stream)
{
exp->op->dump (stream, 0);
}
/* Meant to be used in debug sessions, so don't export it in a header file. */
extern void ATTRIBUTE_USED debug_exp (struct expression *exp);