summaryrefslogtreecommitdiffstats
path: root/gcc/java/java-tree.h
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-16 18:32:45 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-16 18:32:45 +0000
commitaf5b25682f2c2477e8900210b0586ad3133026f4 (patch)
treea9a67b3bdebd8b47728643d12e9e3d6dffc0f055 /gcc/java/java-tree.h
parent9bdaf1baa6691557237e2f77b505de31dced07bc (diff)
downloadppe42-gcc-af5b25682f2c2477e8900210b0586ad3133026f4.tar.gz
ppe42-gcc-af5b25682f2c2477e8900210b0586ad3133026f4.zip
* 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/java-tree.h')
-rw-r--r--gcc/java/java-tree.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index 9e550702c61..96bfe4fde01 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;
OpenPOWER on IntegriCloud