X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=include%2Flibfirm%2Firlivechk.h;h=53988e7aefb33d9aecffc3ac02a8e0b8b16369b4;hb=d44b3844af84684de9b0213b77c175f80f8b84ee;hp=a4903332e2d68f82492559a491ed059413a05884;hpb=0b92932d805ac8ee1117e12e58d8d0dc4228d05f;p=libfirm diff --git a/include/libfirm/irlivechk.h b/include/libfirm/irlivechk.h index a4903332e..53988e7ae 100644 --- a/include/libfirm/irlivechk.h +++ b/include/libfirm/irlivechk.h @@ -28,11 +28,13 @@ * Hence, nothing has to be updated if the program is modified unless the CFG is touched. * See .c file for more comments. */ + #ifndef FIRM_ANA_IRLIVECHK_H #define FIRM_ANA_IRLIVECHK_H #include "irgraph.h" #include "irnode.h" +#include "dfs.h" typedef enum { lv_chk_state_in = 1, @@ -46,9 +48,10 @@ typedef struct _lv_chk_t lv_chk_t; /** * Make a new liveness check environment. * @param irg The graph. + * @param dfs A forward DFS on CFG of the given irg. * @return The environment. */ -extern lv_chk_t *lv_chk_new(ir_graph *irg); +extern lv_chk_t *lv_chk_new(ir_graph *irg, const dfs_t *dfs); /** * Free liveness check information.