X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypewalk.c;h=f20857d3bae78f712b937afc7be77bdacdf8d3aa;hb=aee537d3a7765763d1d5040c9a16faf3396133b9;hp=5699c07cd773dd66ea3340779bf1bebe4dfbf661;hpb=c64c5e5133d6c65556fe91ac9e7bfb5167be19b9;p=libfirm diff --git a/ir/tr/typewalk.c b/ir/tr/typewalk.c index 5699c07cd..f20857d3b 100644 --- a/ir/tr/typewalk.c +++ b/ir/tr/typewalk.c @@ -22,7 +22,7 @@ * @brief Functionality to modify the type graph. * @author Goetz Lindenmaier * @version $Id$ - * @summary + * @brief * * Traverse the type information. The walker walks the whole ir graph * to find the distinct type trees in the type graph forest. @@ -209,13 +209,11 @@ static void do_type_walk(type_or_ent tore, case tpo_code: case tpo_primitive: - case tpo_id: case tpo_none: case tpo_unknown: /* a leave. */ break; case tpo_uninitialized: - case tpo_max: assert(0 && "Faulty type"); break; } @@ -400,7 +398,6 @@ static void type_walk_s2s_2(type_or_ent tore, case tpo_enumeration: case tpo_pointer: case tpo_primitive: - case tpo_id: /* dont care */ break; default: @@ -494,7 +491,6 @@ type_walk_super_2(type_or_ent tore, case tpo_enumeration: case tpo_pointer: case tpo_primitive: - case tpo_id: /* don't care */ break; default: @@ -615,7 +611,6 @@ void walk_types_entities(ir_type *tp, case tpo_enumeration: case tpo_pointer: case tpo_primitive: - case tpo_id: default: break; }