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/lang.c | |
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/lang.c')
-rw-r--r-- | gcc/java/lang.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index d6c808a..ad1b826 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -113,6 +113,10 @@ int flag_use_divide_subroutine = 1; /* When non zero, generate code for the Boehm GC. */ int flag_use_boehm_gc = 0; +/* When non zero, assume the runtime uses a hash table to map an + object to its synchronization structure. */ +int flag_hash_synchronization; + /* From gcc/flags.h, and indicates if exceptions are turned on or not. */ extern int flag_new_exceptions; @@ -130,7 +134,8 @@ 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} + {"use-boehm-gc", &flag_use_boehm_gc, 1}, + {"hash-synchronization", &flag_hash_synchronization, 1} }; JCF *current_jcf; |