* Licence: This file protected by GPL - GNU GENERAL PUBLIC LICENSE.
*/
#ifdef HAVE_CONFIG_H
-# include <config.h>
+# include "config.h"
#endif
#include "irnode_t.h"
#include "irgwalk.h"
#include "pdeq.h"
#include "pset.h"
-#include "firmstat.h"
+#include "irhooks.h"
/**
* Metadata for block walker
{
ir_graph * rem = current_ir_graph;
- stat_irg_walk_blkwise(irg, (void *)pre, (void *)post);
+ hook_irg_walk_blkwise(irg, (void *)pre, (void *)post);
current_ir_graph = irg;
irg_walk_blkwise(get_irg_end(irg), pre, post, env);
current_ir_graph = rem;