removed unitialized used vartiable
[libfirm] / ir / be / bejavacoal.h
index 28d1305..35f185e 100644 (file)
@@ -5,20 +5,6 @@
 struct _be_java_coal_t;
 typedef struct _be_java_coal_t be_java_coal_t;
 
-
-#ifdef WITH_LIBCORE
-
-#include <libcore/lc_opts.h>
-#include <libcore/lc_opts_enum.h>
-#include "firm_config.h"
-
-/**
- * Register libcore options.
- */
-void be_java_coal_register_options(lc_opt_entry_t *grp);
-
-#endif /* WITH_LIBCORE */
-
 /**
  * Add an interference edge
  * @param n first node id.
@@ -41,6 +27,13 @@ void be_java_coal_add_aff_edge(be_java_coal_t *c, int n, int m, int costs);
  */
 void be_java_coal_set_color(be_java_coal_t *c, int n, int col);
 
+/**
+ * Set debug information for a node.
+ * @param n The node.
+ * @param dbg Some string copied to Java.
+ */
+void be_java_coal_set_debug(be_java_coal_t *c, int n, const char *dbg);
+
 /**
  * Forbid a color for a node.
  * Afterwards, the node may not be assigned that color.
@@ -77,6 +70,14 @@ int be_java_coal_get_color(be_java_coal_t *c, int n);
  */
 be_java_coal_t *be_java_coal_init(const char *graph_name, int n_nodes, int n_regs, int dbg_level);
 
+/**
+ * Start the JVM.
+ * This is also done lazily by be_java_coal_init() but as that is called by
+ * the coalescing driver, it might tamper the runtime measurements. So here is
+ * an extra call.
+ */
+void be_java_coal_start_jvm(void);
+
 /**
  * Destroy the coalescing object.
  */