diff options
| author | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-02 12:20:36 +0000 |
|---|---|---|
| committer | bothner <bothner@138bc75d-0d04-0410-961f-82ee72b054a4> | 1999-02-02 12:20:36 +0000 |
| commit | 5bb390bf792ef7cb62b184e5ba55eff0101b3f8b (patch) | |
| tree | c3a911fc75011cc37aa74034b4ae5ec82c54c0bf /gcc/machmode.h | |
| parent | d70d55d7536c5726e92623e1b232bbe70b5e07b7 (diff) | |
| download | ppe42-gcc-5bb390bf792ef7cb62b184e5ba55eff0101b3f8b.tar.gz ppe42-gcc-5bb390bf792ef7cb62b184e5ba55eff0101b3f8b.zip | |
a
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@24971 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/machmode.h')
0 files changed, 0 insertions, 0 deletions

