Fixed xConst
[libfirm] / ir / be / bespill.h
index a0503cd..92e6a9a 100644 (file)
@@ -8,10 +8,9 @@
 #ifndef BESPILL_H_
 #define BESPILL_H_
 
-#include "firm_config.h"
+#include "firm_types.h"
 #include "set.h"
 #include "pset.h"
-#include "irnode.h"
 #include "debug.h"
 
 #include "bechordal.h"
 typedef struct _spill_env_t spill_env_t;
 typedef int(*decide_irn_t)(const ir_node*, void*);
 
-
+/**
+ * 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);
 
+/**
+ * Deletes a spill environment.
+ */
 void be_delete_spill_env(spill_env_t *senv);
 
 void be_add_reload(spill_env_t *senv, ir_node *to_spill, ir_node *before);
@@ -38,6 +46,9 @@ void be_insert_spills_reloads(spill_env_t *senv, pset *reload_set);
  */
 void be_compute_spill_offsets(be_chordal_env_t *cenv);
 
+/**
+ * Sets the debug module of a spill environment.
+ */
 DEBUG_ONLY(void be_set_spill_env_dbg_module(spill_env_t *env, firm_dbg_module_t *dbg));
 
-#endif /*BESPILL_H_*/
+#endif /* BESPILL_H_ */