summaryrefslogtreecommitdiffstats
path: root/gcc/genrecog.c
diff options
context:
space:
mode:
authorbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-02 12:20:34 +0000
committerbothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4>1999-02-02 12:20:34 +0000
commitd70d55d7536c5726e92623e1b232bbe70b5e07b7 (patch)
tree356e1e499a8298fbc7c62d9854aefcaea9fbff2f /gcc/genrecog.c
parent90f87950d7eb8d3965ea69fce79d09410e0549d2 (diff)
downloadppe42-gcc-d70d55d7536c5726e92623e1b232bbe70b5e07b7.tar.gz
ppe42-gcc-d70d55d7536c5726e92623e1b232bbe70b5e07b7.zip
Optimize: `return (a ? b : c)' as: `if (a) return b; else return c;'. * jcf-write.c (generate_bytecode_return): New function. (generate_bytecode_insns): Use it, for RETURN_EXPR. * jcf-write.c (generate_bytecode_insns): For REAL_CST that is 0 or 1, generate special [fd]const_[01] instructions. * jcf-parse.c (yyparse): Don't emit_register_classes if -fsyntax-only. * verify.c (verify_jvm_instructions): Do INVALIDATE_PC after handling OPCODE_lookupswitch or OPCODE_tableswitch. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@24970 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/genrecog.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud