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

Remove the unused function arch_irn_flag_str().

[r22761]
parent 3cde9f45
......@@ -242,21 +242,6 @@ arch_irn_flags_t arch_irn_get_flags(const ir_node *irn)
return ops->get_flags(irn);
}
extern const char *arch_irn_flag_str(arch_irn_flags_t fl)
{
switch(fl) {
#define XXX(x) case arch_irn_flags_ ## x: return #x;
XXX(dont_spill);
XXX(ignore);
XXX(rematerializable);
XXX(modify_sp);
XXX(modify_flags);
XXX(none);
#undef XXX
}
return "n/a";
}
extern char *arch_register_req_format(char *buf, size_t len,
const arch_register_req_t *req,
const ir_node *node)
......
......@@ -125,14 +125,6 @@ typedef enum arch_irn_flags_t {
arch_irn_flags_last = arch_irn_flags_modify_flags
} arch_irn_flags_t;
/**
* Get the string representation of a flag.
* This functions does not handle or'ed bitmasks of flags.
* @param flag The flag.
* @return The flag as a string.
*/
extern const char *arch_irn_flag_str(arch_irn_flags_t flag);
void arch_set_frame_offset(ir_node *irn, int bias);
ir_entity *arch_get_frame_entity(const ir_node *irn);
......
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