removed unused function
authorChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Thu, 2 Nov 2006 09:25:52 +0000 (09:25 +0000)
committerChristian Würdig <chriswue@ipd.info.uni-karlsruhe.de>
Thu, 2 Nov 2006 09:25:52 +0000 (09:25 +0000)
ir/be/ia32/ia32_emitter.c

index 573bd15..e751380 100644 (file)
@@ -500,28 +500,6 @@ static const char *pointer_size(ir_mode *mode, int x87_insn)
        return NULL;
 }
 
-/**
- * Translate the stx names into %st(x).
- */
-static char *get_x87_reg_name(const arch_register_t *reg, char *buf) {
-       const char *name = arch_register_get_name(reg);
-
-       buf[0] = '%';
-       buf[1] = 's';
-       buf[2] = 't';
-
-       if (name[2] == '0')
-               buf[3] = '\0';
-       else {
-               buf[3] = '(';
-               buf[4] = name[2];
-               buf[5] = ')';
-               buf[6] = '\0';
-       }
-
-       return buf;
-}
-
 /**
  * Emits registers and/or address mode of a binary operation.
  */