summaryrefslogtreecommitdiff
path: root/gcc/java/jcf-parse.c
diff options
context:
space:
mode:
authortromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-11 22:40:13 +0000
committertromey <tromey@138bc75d-0d04-0410-961f-82ee72b054a4>2007-01-11 22:40:13 +0000
commit6548e80876b803cc3abcc2c8f3ebec8a4c647062 (patch)
tree2a6d291c47f722d46c49688cc8abaf9c5e8de5d3 /gcc/java/jcf-parse.c
parent5b410d6a7a6082f40ec95069ad833c08a2bbb04b (diff)
downloadgcc-6548e80876b803cc3abcc2c8f3ebec8a4c647062.tar.gz
* typeck.c (convert): Don't use flag_emit_class_files.
* lang.c (java_post_options): Don't use flag_emit_class_files. (java_handle_option): Don't use flag_extraneous_semicolon or flag_redundant. * jcf-parse.c (HANDLE_CONSTANTVALUE): Don't use flag_emit_class_files. (load_class): Likewise. * java-tree.h (flag_emit_class_files): Don't declare. (STATIC_CLASS_INIT_OPT_P): Don't use flag_emit_class_files. (flag_extraneous_semicolon): Don't declare. (flag_not_overriding): Likewise. (flag_static_local_jdk1_1): Likewise. (flag_redundant): Likewise. * expr.c (build_newarray): Don't use flag_emit_class_files. * class.c (DEFAULT_ENABLE_ASSERT): Don't use flag_emit_class_files. (build_class_ref): Likewise. * builtins.c (check_for_builtin): Don't use flag_emit_class_files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120687 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/jcf-parse.c')
-rw-r--r--gcc/java/jcf-parse.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index 079228e8954..947f76d618c 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -912,7 +912,7 @@ handle_signature_attribute (int member_index, JCF *jcf,
#define HANDLE_CONSTANTVALUE(INDEX) \
{ tree constant; int index = INDEX; \
- if (! flag_emit_class_files && JPOOL_TAG (jcf, index) == CONSTANT_String) { \
+ if (JPOOL_TAG (jcf, index) == CONSTANT_String) { \
tree name = get_name_constant (jcf, JPOOL_USHORT1 (jcf, index)); \
constant = build_utf8_ref (name); \
} \
@@ -1469,8 +1469,7 @@ load_class (tree class_or_name, int verbose)
if (!class_loaded)
{
- if (flag_verify_invocations || ! flag_indirect_dispatch
- || flag_emit_class_files)
+ if (flag_verify_invocations || ! flag_indirect_dispatch)
{
if (verbose)
error ("cannot find file for class %s", IDENTIFIER_POINTER (saved));