aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/lang.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r--gcc/java/lang.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c
index 10db753..8992c57 100644
--- a/gcc/java/lang.c
+++ b/gcc/java/lang.c
@@ -110,6 +110,9 @@ int flag_static_local_jdk1_1 = 0;
/* When non zero, call a library routine to do integer divisions. */
int flag_use_divide_subroutine = 1;
+/* When non zero, generate code for the Boehm GC. */
+int flag_use_boehm_gc = 0;
+
/* From gcc/flags.h, and indicates if exceptions are turned on or not. */
extern int flag_new_exceptions;
@@ -127,6 +130,7 @@ lang_f_options[] =
{"emit-class-file", &flag_emit_class_files, 1},
{"emit-class-files", &flag_emit_class_files, 1},
{"use-divide-subroutine", &flag_use_divide_subroutine, 1},
+ {"use-boehm-gc", &flag_use_boehm_gc, 1}
};
JCF *current_jcf;