ast2firm: Remove the unused function get_atomic_mode().
authorChristoph Mallon <christoph.mallon@gmx.de>
Sat, 22 Dec 2012 12:19:38 +0000 (13:19 +0100)
committerChristoph Mallon <christoph.mallon@gmx.de>
Thu, 27 Dec 2012 08:35:19 +0000 (09:35 +0100)
ast2firm.c
ast2firm.h

index ada6300..7790c60 100644 (file)
@@ -235,12 +235,6 @@ static void init_atomic_modes(void)
        }
 }
 
-ir_mode *get_atomic_mode(atomic_type_kind_t kind)
-{
-       assert(kind <= ATOMIC_TYPE_LAST);
-       return atomic_modes[kind];
-}
-
 static ir_node *get_vla_size(array_type_t *const type)
 {
        ir_node *size_node = type->size_node;
index 335c2f1..df1b443 100644 (file)
@@ -14,7 +14,6 @@ void translation_unit_to_firm(translation_unit_t *unit);
 void init_ast2firm(void);
 void exit_ast2firm(void);
 
-ir_mode *get_atomic_mode(atomic_type_kind_t kind);
 ir_type *get_ir_type(type_t *type);
 
 typedef ident* (*create_ld_ident_func)(entity_t *entity);