diff options
author | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-16 18:32:45 +0000 |
---|---|---|
committer | tromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4> | 2000-03-16 18:32:45 +0000 |
commit | af5b25682f2c2477e8900210b0586ad3133026f4 (patch) | |
tree | a9a67b3bdebd8b47728643d12e9e3d6dffc0f055 /gcc/java/lang.c | |
parent | 9bdaf1baa6691557237e2f77b505de31dced07bc (diff) | |
download | gcc-af5b25682f2c2477e8900210b0586ad3133026f4.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32593 138bc75d-0d04-0410-961f-82ee72b054a4
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 d6c808a3ece..ad1b8261a16 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; |