Make be_spill_belady() static.
authorChristoph Mallon <christoph.mallon@gmx.de>
Fri, 6 Apr 2007 07:19:03 +0000 (07:19 +0000)
committerChristoph Mallon <christoph.mallon@gmx.de>
Fri, 6 Apr 2007 07:19:03 +0000 (07:19 +0000)
[r12674]

ir/be/bespillbelady.c
ir/be/bespillbelady.h

index c3e2508..b80cdf9 100644 (file)
@@ -666,7 +666,15 @@ next_value:
        }
 }
 
-void be_spill_belady(be_irg_t *birg, const arch_register_class_t *cls) {
+/**
+ * Do spilling for a register class on a graph using the belady heuristic.
+ * In the transformed graph, the register pressure never exceeds the number
+ * of available registers.
+ *
+ * @param birg  The backend graph
+ * @param cls   The register class to spill
+ */
+static void be_spill_belady(be_irg_t *birg, const arch_register_class_t *cls) {
        be_spill_belady_spill_env(birg, cls, NULL);
 }
 
index 3bb4c08..2c0c12d 100644 (file)
 #include "bearch.h"
 #include "bespill.h"
 
-/**
- * Do spilling for a register class on a graph using the belady heuristic.
- * In the transformed graph, the register pressure never exceeds the number
- * of available registers.
- *
- * @param birg  The backend graph
- * @param cls   The register class to spill
- */
-void be_spill_belady(be_irg_t *birg, const arch_register_class_t *cls);
-
 /**
  * Same as be_spill_belady but reuses an existing spill environment.
  * This is usefull for "pre-spillers" that create some spills+reloads