diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-03-04 22:27:35 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-03-04 22:27:35 +0000 |
commit | 5830574a1674fe8a174ad4f1d21b152215b6e5ab (patch) | |
tree | d44828096a384e2296cf383320872e7308002f92 /gcc/java/lang.c | |
parent | 0f9c645ea579c48499360de5b2bd4c8cd281c767 (diff) | |
download | gcc-5830574a1674fe8a174ad4f1d21b152215b6e5ab.zip gcc-5830574a1674fe8a174ad4f1d21b152215b6e5ab.tar.gz gcc-5830574a1674fe8a174ad4f1d21b152215b6e5ab.tar.bz2 |
Makefile.in (JAVA_OBJS): Added boehm.o.
* Makefile.in (JAVA_OBJS): Added boehm.o.
(boehm.o): New target.
* Make-lang.in (JAVA_SRCS): Added boehm.c.
* java-tree.h (flag_use_boehm_gc): Declare.
(get_boehm_type_descriptor): Declare.
* lang.c (lang_f_options): Added `use-boehm-gc'.
(flag_use_boehm_gc): New global.
* lang-options.h: Added -fuse-boehm-gc.
* boehm.c: New file.
* class.c (get_dispatch_table): If class uses a Boehm type
descriptor, put it in the vtable.
(make_class_data): Removed dead code.
From-SVN: r32331
Diffstat (limited to 'gcc/java/lang.c')
-rw-r--r-- | gcc/java/lang.c | 4 |
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; |