check-init.c (check_bool2_init, [...]): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR.
� * check-init.c (check_bool2_init, check_bool_init, check_init): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR, and TRUTH_XOR_EXPR. * jcf-write.c (generate_bytecode_insns): Likewise. From-SVN: r24899
This commit is contained in:
parent
f56246bec4
commit
81f4eddded
@ -1936,8 +1936,11 @@ generate_bytecode_insns (exp, target, state)
|
||||
case LSHIFT_EXPR: jopcode = OPCODE_ishl; goto binop;
|
||||
case RSHIFT_EXPR: jopcode = OPCODE_ishr; goto binop;
|
||||
case URSHIFT_EXPR: jopcode = OPCODE_iushr; goto binop;
|
||||
case TRUTH_AND_EXPR:
|
||||
case BIT_AND_EXPR: jopcode = OPCODE_iand; goto binop;
|
||||
case TRUTH_OR_EXPR:
|
||||
case BIT_IOR_EXPR: jopcode = OPCODE_ior; goto binop;
|
||||
case TRUTH_XOR_EXPR:
|
||||
case BIT_XOR_EXPR: jopcode = OPCODE_ixor; goto binop;
|
||||
binop:
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user