jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to determine how many stack slots to pop.
* jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to determine how many stack slots to pop. From-SVN: r31709
This commit is contained in:
parent
946efde181
commit
105a8d1c0e
|
@ -1,3 +1,8 @@
|
|||
2000-01-30 Anthony Green <green@redhat.com>
|
||||
|
||||
* jcf-write.c (generate_bytecode_insns): Use TYPE_IS_WIDE to
|
||||
determine how many stack slots to pop.
|
||||
|
||||
2000-01-29 Alexandre Petit-Bianco <apbianco@cygnus.com>
|
||||
|
||||
* parse.y (formal_parameter:): Set `$$' to NULL_TREE for better
|
||||
|
|
|
@ -1625,7 +1625,7 @@ generate_bytecode_insns (exp, target, state)
|
|||
|
||||
/* COND_EXPR can be used in a binop. The stack must be adjusted. */
|
||||
if (TREE_TYPE (exp) != void_type_node)
|
||||
NOTE_POP (TYPE_PRECISION (TREE_TYPE (exp)) > 32 ? 2 : 1);
|
||||
NOTE_POP (TYPE_IS_WIDE (TREE_TYPE (exp)) ? 2 : 1);
|
||||
}
|
||||
break;
|
||||
case CASE_EXPR:
|
||||
|
|
Loading…
Reference in New Issue