X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftr_inheritance.c;h=019640fae562d425dd368334489762340cb8bf2a;hb=7cd2dbf37a3ced8d0113899618c88bc47eee0164;hp=0b6758038aa580a1a9ed77b9954b309b3cb6b960;hpb=0fbcef83aa6060534172bb13e71cdadb04428806;p=libfirm diff --git a/ir/tr/tr_inheritance.c b/ir/tr/tr_inheritance.c index 0b6758038..019640fae 100644 --- a/ir/tr/tr_inheritance.c +++ b/ir/tr/tr_inheritance.c @@ -42,7 +42,7 @@ DEBUG_ONLY(static firm_dbg_module_t *dbg); /* ----------------------------------------------------------------------- */ ident *default_mangle_inherited_name(ir_entity *super, ir_type *clss) { - return mangle_u(new_id_from_str("inh"), mangle_u(get_type_ident(clss), get_entity_ident(super))); + return id_mangle_u(new_id_from_str("inh"), id_mangle_u(get_type_ident(clss), get_entity_ident(super))); } /** Replicates all entities in all super classes that are not overwritten @@ -166,7 +166,7 @@ static int tr_inh_trans_cmp(const void *e1, const void *e2, size_t size) { /** * calculate the hash value of an tr_inh_trans_tp */ -static INLINE unsigned int tr_inh_trans_hash(const tr_inh_trans_tp *v) { +static inline unsigned int tr_inh_trans_hash(const tr_inh_trans_tp *v) { return HASH_PTR(v->kind); }