summaryrefslogtreecommitdiff
path: root/gcc/java/java-tree.h
diff options
context:
space:
mode:
authorDavid Daney <ddaney@avtrex.com>2006-03-15 19:10:23 +0000
committerDavid Daney <daney@gcc.gnu.org>2006-03-15 19:10:23 +0000
commitdba370a8290f518f2274b1dd8da3459aa1844f65 (patch)
tree7dd173d7486d8928413e09b912a0357b143e2a68 /gcc/java/java-tree.h
parent492edb3ac5fbdee5d8383af723610f5dbc589214 (diff)
downloadgcc-dba370a8290f518f2274b1dd8da3459aa1844f65.tar.gz
lang.opt (-freduced-reflection): New option.
* lang.opt (-freduced-reflection): New option. * lang.c (java_post_options): Generate an error if -freduced-reflection used with -fjni or -findirect-dispatch. * java-tree.h (flag_reduced_reflection): Declare new variable. * boehm.c (get_boehm_type_descriptor): Indicate all pointers if bitmap overflows and flag_reduced_reflection set. * class.c (uses_jv_markobj_p): New function. (make_class_data): Moved generation of vtable to before reflection data, generate less reflection data if flag_reduced_reflection set. * gcj.texi: Document -freduced-reflection. From-SVN: r112095
Diffstat (limited to 'gcc/java/java-tree.h')
-rw-r--r--gcc/java/java-tree.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/java/java-tree.h b/gcc/java/java-tree.h
index d421b514a46..285945c9935 100644
--- a/gcc/java/java-tree.h
+++ b/gcc/java/java-tree.h
@@ -215,6 +215,9 @@ extern int flag_indirect_dispatch;
/* When zero, don't generate runtime array store checks. */
extern int flag_store_check;
+/* When nonzero, generate only a limited set of class meta-data. */
+extern int flag_reduced_reflection;
+
/* Encoding used for source files. */
extern const char *current_encoding;