fix intrinsics appearing in output
authorMatthias Braun <matze@braunis.de>
Sat, 13 Feb 2010 13:44:27 +0000 (13:44 +0000)
committerMatthias Braun <matze@braunis.de>
Sat, 13 Feb 2010 13:44:27 +0000 (13:44 +0000)
[r27148]

ir/be/ia32/ia32_intrinsics.c

index f890756..6778f96 100644 (file)
@@ -934,6 +934,7 @@ ir_entity *ia32_create_intrinsic_fkt(ir_type *method, const ir_op *op,
 
                ident *id = id_mangle(IDENT("L"), get_op_ident(op));
                *ent = new_entity(get_glob_type(), id, method);
+               set_entity_visibility(*ent, ir_visibility_private);
        }
 
        elt.i_call.kind     = INTRINSIC_CALL;