X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbejavacoal.h;h=2b19cd3674c9d4d11a96978dee62b301f77f00ed;hb=80a6158fdd766f42ee6c508a773bc114ff1b61f3;hp=28d1305676eaaac9654c1cfd05cb13c88bddfd41;hpb=f7c9890c7f7c869f7da0e521487772ad99b18aaf;p=libfirm diff --git a/ir/be/bejavacoal.h b/ir/be/bejavacoal.h index 28d130567..2b19cd367 100644 --- a/ir/be/bejavacoal.h +++ b/ir/be/bejavacoal.h @@ -41,6 +41,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 +84,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. */