diff options
author | Tom Tromey <tromey@cygnus.com> | 2000-03-16 18:32:45 +0000 |
---|---|---|
committer | Tom Tromey <tromey@gcc.gnu.org> | 2000-03-16 18:32:45 +0000 |
commit | 64aa33dd9c7353a00780a6c6a45c4f835adc2996 (patch) | |
tree | a9a67b3bdebd8b47728643d12e9e3d6dffc0f055 /gcc/java/java-tree.h | |
parent | 3c0fca12828829ee5a8c277c1792f59dfd868fef (diff) | |
download | gcc-64aa33dd9c7353a00780a6c6a45c4f835adc2996.zip gcc-64aa33dd9c7353a00780a6c6a45c4f835adc2996.tar.gz gcc-64aa33dd9c7353a00780a6c6a45c4f835adc2996.tar.bz2 |
lang.c (flag_hash_synchronization): New global.
* lang.c (flag_hash_synchronization): New global.
(lang_f_options): Added `hash-synchronization'.
* lang-options.h: Mention -fhash-synchronization.
* java-tree.h (flag_hash_synchronization): Declare.
* expr.c (java_lang_expand_expr): Only push `sync_info' value when
hash table synchronization is disabled.
* decl.c (init_decl_processing): Only push `sync_info' value when
hash table synchronization is disabled.
* class.c (make_class_data): Only push `sync_info' field when hash
table synchronization is disabled. Removed dead code.
From-SVN: r32593
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r-- | gcc/java/java-tree.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h index 9e55070..96bfe4f 100644 --- a/gcc/java/java-tree.h +++ b/gcc/java/java-tree.h @@ -155,6 +155,10 @@ extern int flag_use_divide_subroutine; /* When non zero, generate code for the Boehm GC. */ extern int flag_use_boehm_gc; +/* When non zero, assume the runtime uses a hash table to map an + object to its synchronization structure. */ +extern int flag_hash_synchronization; + /* The Java .class file that provides main_class; the main input file. */ extern struct JCF *current_jcf; |