expr.c (java_lang_expand_expr): Add missing emit_queue.

�
	* expr.c (java_lang_expand_expr):  Add missing emit_queue.
	* javaop.h (int8):  Removed - not used.
	(jbyte):  Redefine portably with correct signedness.

From-SVN: r23832
This commit is contained in:
Per Bothner 1998-11-24 13:16:53 +00:00 committed by Per Bothner
parent 6466fce8c9
commit 818347b4d6
3 changed files with 22 additions and 2 deletions

View File

@ -1,3 +1,19 @@
Tue Nov 24 12:57:13 1998 Per Bothner <bothner@cygnus.com>
* expr.c (java_lang_expand_expr): Add missing emit_queue.
* javaop.h (int8): Removed - not used.
(jbyte): Redefine portably with correct signedness.
* jcf-write.c (generate_bytecode_insns): Don't free sw_state.cases.
* jcf-write.c (generate_bytecode_insns): Fix typo
OPCODE_getstatic to OPCODE_getfield.
* java-tree.def (CASE_EXPR, DEFAULT_EXPR): Kind is 'x', not '1'.
* parse.y (java_complete_tree): For CASE_EXPR and DEFAULT_EXPR,
set TREE_SIDE_EFFECTS (otherwise expand_expr may skip them).
Thu Nov 19 11:16:55 1998 Alexandre Petit-Bianco <apbianco@cygnus.com>
* jcf-parse.c (jcf_parse_source): Function returned type is

View File

@ -1750,6 +1750,7 @@ java_lang_expand_expr (exp, target, tmode, modifier)
while (TREE_CODE (body) == COMPOUND_EXPR)
{
expand_expr (TREE_OPERAND (body, 0), const0_rtx, VOIDmode, 0);
emit_queue ();
body = TREE_OPERAND (body, 1);
}
to_return = expand_expr (body, target, tmode, modifier);

View File

@ -26,7 +26,6 @@ The Free Software Foundation is independent of Sun Microsystems, Inc. */
#ifndef JAVAOP_H
#define JAVAOP_H
typedef char int8;
typedef unsigned char uint8;
#ifndef int16
#define int16 short
@ -48,7 +47,11 @@ typedef unsigned int32 uint32;
#endif
typedef uint16 jchar;
typedef int8 jbyte;
#ifdef __STDC__
typedef signed char jbyte;
#else
typedef char jbyte;
#endif
typedef int16 jshort;
typedef int32 jint;
typedef int64 jlong;