X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Ftr%2Ftypewalk.h;h=9968375edb5ede1fe78f98c808b82003a64c822c;hb=328ae18da3e796f4f9fda2aba629cc34e2849ed7;hp=90f5da9d48e8319de52af2056a85d1289d530e56;hpb=f548cf8f53f671a577097a3c92f57b3baf16d98b;p=libfirm diff --git a/ir/tr/typewalk.h b/ir/tr/typewalk.h index 90f5da9d4..9968375ed 100644 --- a/ir/tr/typewalk.h +++ b/ir/tr/typewalk.h @@ -10,6 +10,8 @@ ** - execute the post function after recursion */ +/* $Id$ */ + /* walk over all type information reachable from the ir graph. */ @@ -33,12 +35,13 @@ void type_walk_irg(ir_graph *irg, void (post)(type_or_ent*, void*), void *env); -/** Walks over all type information reachable from global roots. - Touches every type and entity in specified order: - - first the super types - - secand the type itself - - third the sub types. If new types/entities are created +/** Walks over all classes information reachable from global roots. + Touches every class in specified order: + - first the super class + - second the class itself + - third the sub classes. If new classes are created during the traversal these will be visited, too. **/ +/** @@@ shoulc be named class-walk **/ void type_walk_super2sub(void (pre)(type_or_ent*, void*), void (post)(type_or_ent*, void*), void *env);