* @author Daniel Grund
* @date 04.01.2005
*/
+#ifdef HAVE_CONFIG_H
+#include "config.h"
+#endif
#include <stdlib.h>
#include <stdio.h>
#include "irouts.h"
#include "irdom.h"
+#include "beutil.h"
#include "bera_t.h"
#include "bephiopt.h"
#include "phiclass_t.h"
#define DUMP_DIR_PHI_STAT 1
#define DUMP_ALL_PHI_STAT 1
-#define PHI_STAT_FILE "all.phistat"
+#define PHI_STAT_FILE "dir.phistat"
#define ENV_PHI_STAT "PHI_STAT"
static firm_dbg_module_t *dbgphi = NULL;
static void node_collector(ir_node *node, void *env) {
+ struct obstack *obst = env;
if (!is_Block(node) && is_allocatable_irn(node))
- obstack_ptr_grow(env, node);
+ obstack_ptr_grow(obst, node);
}