+2000-08-14 Alexandre Petit-Bianco <apbianco@cygnus.com>
+
+ * jcf-write.c (generate_bytecode_conditional): Re-installed lost
+ Jan 6 2000 patch.
+ (generate_bytecode_insns): Check `nargs' before emitting it.
+ * verify.c (merge_type_state): Fixed typo.
+ * ChangeLog: Fixed typo in some jcf-write.c entries mentioning
+ generate_bytecode_{conditional,insns}.
+
Sun Aug 13 09:41:49 2000 Anthony Green <green@redhat.com>
* check-init.c (check_init): Add case for BIT_FIELD_REF (required
Thu Jan 6 00:54:10 2000 Alexandre Petit-Bianco <apbianco@cygnus.com>
- * jcf-write.c (generate_byecode_conditional): Fixed indentation in
+ * jcf-write.c (generate_bytecode_conditional): Fixed indentation in
method invocation and typo in conditional expression.
(generate_bytecode_insns): COND_EXPR can be part of a binop. Issue
the appropriate NOTE_POP.
Tue Nov 30 12:28:34 1999 Alexandre Petit-Bianco <apbianco@cygnus.com>
- * jcf-write.c (generate_byecode_insns): Fixed indentation for
+ * jcf-write.c (generate_bytecode_insns): Fixed indentation for
COMPOUND_EXPR and FIX_TRUNC_EXPR cases.
* parse.y (patch_assignment): Removed bogus final class test on
}
if (integer_zerop (exp1) || integer_zerop (exp0))
{
- generate_bytecode_insns (integer_zerop (exp1) ? exp0 : exp0,
+ generate_bytecode_insns (integer_zerop (exp0) ? exp1 : exp0,
STACK_TARGET, state);
op = op + (OPCODE_ifnull - OPCODE_if_acmpeq);
negop = (op & 1) ? op - 1 : op + 1;
if (interface)
{
DECL_CONTEXT (f) = saved_context;
+ if (nargs <= 0)
+ fatal ("Illegal number of arguments to invokeinterface, nargs=%d",
+ nargs);
OP1 (nargs);
OP1 (0);
}
merge_type_state (label)
tree label;
{
- int nlocals = DECL_MAX_LOCALS(current_function_decl);
+ int nlocals = DECL_MAX_LOCALS (current_function_decl);
int cur_length = stack_pointer + nlocals;
tree vec = LABEL_TYPE_STATE (label);
tree return_map;