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-options.h | |
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-options.h')
-rw-r--r-- | gcc/java/lang-options.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/java/lang-options.h b/gcc/java/lang-options.h index 7ebc7ee..43bf70e 100644 --- a/gcc/java/lang-options.h +++ b/gcc/java/lang-options.h @@ -1,5 +1,5 @@ /* Switch definitions for the GNU compiler for the Java(TM) language. - Copyright (C) 1998 Free Software Foundation, Inc. + Copyright (C) 1998, 1999 Free Software Foundation, Inc. This file is part of GNU CC. @@ -33,6 +33,7 @@ DEFINE_LANG_NAME ("Java") { "-fno-assume-compiled", "" }, { "-femit-class-file", "" }, { "-femit-class-files", "Dump class files to <name>.class" }, + { "-fuse-boehm-gc", "Generate code for Boehm GC" }, #if ! USE_CPPLIB { "-MD", "Print dependencies to FILE.d" }, { "-MMD", "Print dependencies to FILE.d" }, |