-typedef struct _spill_env_t {
- const be_main_session_env_t *session;
- set *spill_ctxs;
- pset *mem_phis; /**< all phis which must be converted to memory phis */
-} spill_env_t;
+#include "bearch.h"
+
+typedef struct _spill_env_t spill_env_t;
+typedef int(*decide_irn_t)(const ir_node*, void*);
+
+
+spill_env_t *be_new_spill_env(
+ firm_dbg_module_t *dbg,
+ const be_chordal_env_t *chordal,
+ decide_irn_t is_mem_phi,
+ void *data);