do not use new_Bad(), as this depends on current_ir_graph, cast
[libfirm] / ir / ir / irprintf.c
index 42113f9..e8c80bc 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1995-2007 University of Karlsruhe.  All right reserved.
+ * Copyright (C) 1995-2008 University of Karlsruhe.  All right reserved.
  *
  * This file is part of libFirm.
  *
@@ -359,6 +359,9 @@ static void firm_emit(char *buf, int buflen, char conversion,
           case symconst_enum_const:  /* enumeration constant */
             snprintf(tv_buf, sizeof(tv_buf), "<ENUM:%s>", get_enumeration_name(get_SymConst_enum(X)));
             break;
+          case symconst_label:       /* label */
+            snprintf(tv_buf, sizeof(tv_buf), "<LABEL:%lu>", get_SymConst_label(X));
+            break;
           default:
             tv_buf[0] = '\0';
           }