Remove the unused function get_ia32_out_reg_name().
authorChristoph Mallon <christoph.mallon@gmx.de>
Sun, 12 Oct 2008 09:52:00 +0000 (09:52 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Sun, 12 Oct 2008 09:52:00 +0000 (09:52 +0000)
[r22793]

ir/be/ia32/ia32_new_nodes.c
ir/be/ia32/ia32_new_nodes.h

index c611726..e4bd1a8 100644 (file)
@@ -994,18 +994,6 @@ int is_ia32_St(const ir_node *node) {
               op == iro_ia32_fstp;
 }
 
-/**
- * Returns the name of the OUT register at position pos.
- */
-const char *get_ia32_out_reg_name(const ir_node *node, int pos) {
-       const ia32_attr_t *attr = get_ia32_attr_const(node);
-
-       assert(pos < ARR_LEN(attr->slots) && "Invalid OUT position.");
-       assert(attr->slots[pos]  && "No register assigned");
-
-       return arch_register_get_name(attr->slots[pos]);
-}
-
 void ia32_swap_left_right(ir_node *node)
 {
        ia32_attr_t *attr  = get_ia32_attr(node);
index 966ac90..3ad9bc3 100644 (file)
@@ -300,11 +300,6 @@ void add_ia32_flags(ir_node *node, arch_irn_flags_t flags);
  */
 const arch_register_t **get_ia32_slots(const ir_node *node);
 
-/**
- * Returns the name of the OUT register at position pos.
- */
-const char *get_ia32_out_reg_name(const ir_node *node, int pos);
-
 /**
  * Returns the OUT register at position pos.
  */