X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fbe%2Fbejavacoal.c;h=a1ecb1fb248c785f35e7fdca8706edca44640229;hb=9276447aec4972df060349e162f583c4898dfec8;hp=297c9fab45d58893f66c238e7536921cb651f894;hpb=863d31d7a5c8210432fef88b30fc3e8353131538;p=libfirm diff --git a/ir/be/bejavacoal.c b/ir/be/bejavacoal.c index 297c9fab4..a1ecb1fb2 100644 --- a/ir/be/bejavacoal.c +++ b/ir/be/bejavacoal.c @@ -1,4 +1,28 @@ - +/* + * Copyright (C) 1995-2007 University of Karlsruhe. All right reserved. + * + * This file is part of libFirm. + * + * This file may be distributed and/or modified under the terms of the + * GNU General Public License version 2 as published by the Free Software + * Foundation and appearing in the file LICENSE.GPL included in the + * packaging of this file. + * + * Licensees holding valid libFirm Professional Edition licenses may use + * this file in accordance with the libFirm Commercial License. + * Agreement provided with the Software. + * + * This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE + * WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR + * PURPOSE. + */ + +/** + * @file + * @brief Interface for external Java coalescer. + * @author Sebastian Hack + * @version $Id$ + */ #ifdef HAVE_CONFIG_H #include "config.h" #endif @@ -97,7 +121,7 @@ static char *locate_jvm_lib(char *path, size_t path_len) return path; } -#else +#else /* ! _WIN32 */ /* Unix version */ static void *find_jvm_symbol(const char *vmlibpath, const char *sym) { @@ -109,7 +133,7 @@ static char *locate_jvm_lib(char *path, size_t n) { return NULL; } -#endif +#endif /* _WIN32 */ static int start_vm(jni_env_t *env, int argc, char *argv[]) { @@ -372,7 +396,7 @@ void be_java_coal_set_debug(be_java_coal_t *c, int n, const char *dbg) CHECK(c->env); (*jni)->CallVoidMethod(jni, c->obj, mid, (jint) n, str); CHECK(c->env); -#endif +#endif /* if 0 */ } void be_java_coal_forbid_color(be_java_coal_t *c, int n, int col) @@ -407,7 +431,7 @@ void be_java_coal_start_jvm(void) get_jvm(); } -#else +#else /* ! WITH_JVM */ be_java_coal_t *be_java_coal_init(const char *graph_name, int n_nodes, int n_regs, int dbg_level) {