Fixed a lot of size_t related warnings, most of them due to array implementation...
[libfirm] / ir / tr / entity.c
index dbef0ed..0ac5c68 100644 (file)
@@ -301,6 +301,11 @@ const char *(get_entity_ld_name)(const ir_entity *ent)
        return _get_entity_ld_name(ent);
 }
 
+int entity_has_ld_ident(const ir_entity *entity)
+{
+       return entity->ld_name != NULL;
+}
+
 ir_type *(get_entity_type)(const ir_entity *ent)
 {
        return _get_entity_type(ent);