X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Fircgopt.h;h=b9ce654b15ba3e3bb89a0661206e6175e655eeb7;hb=c32482bc042c9f0591bec432ccb6dfcadbad4cb7;hp=3158e1c754d9b234db2a732762889663b2e9c832;hpb=161f75df9c92b70d0944a20db52f498d42e38cf3;p=libfirm diff --git a/include/libfirm/ircgopt.h b/include/libfirm/ircgopt.h index 3158e1c75..b9ce654b1 100644 --- a/include/libfirm/ircgopt.h +++ b/include/libfirm/ircgopt.h @@ -22,7 +22,6 @@ * @brief Removal of unreachable methods. * @author Hubert Schmid * @date 09.06.2002 - * @version $Id$ * @brief * Removal of unreachable methods. The set of unreachable methods is computed * by the callgraph. @@ -35,20 +34,17 @@ #include "firm_types.h" #include "begin.h" -/* Entfernt alle Methoden, die von den Methoden aus "keep_arr" - * (bezgl. der Abschaetzung get_Call_callee) nicht erreichbar sind. Die - * Abschaetzung der Aufrufrelation muss entsprechend an den - * Call-Operationen gespeichert sein. Die "entity->link"s werden dabei - * ueberschrieben. +/** + * Removes all methods which are not reachable from "keep_arr". * - * Frees all interprocedural loop information. */ + * Frees all interprocedural loop information. + */ FIRM_API void gc_irgs(size_t n_keep, ir_entity *keep_arr[]); /** * Creates an ir_prog pass for gc_irgs(). * * @param name the name of this pass or NULL - * * @return the newly created ir_graph pass */ FIRM_API ir_prog_pass_t *gc_irgs_pass(const char *name);