-spill_env_t *be_new_spill_env(const be_main_session_env_t *session,
- const arch_register_class_t *cls);
+/**
+ * Creates a new spill environment.
+ *
+ * @param chordal
+ * @param is_mem_phi a function that evaluates a Phi node
+ * @param data context parameter for the is_mem_phi function
+ */
+spill_env_t *be_new_spill_env(const be_chordal_env_t *chordal, decide_irn_t is_mem_phi, void *data);