diff options
| author | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-24 17:36:56 +0000 |
|---|---|---|
| committer | rth <rth@138bc75d-0d04-0410-961f-82ee72b054a4> | 2012-07-24 17:36:56 +0000 |
| commit | ebb6e3c1fa058536e6d03b3dda0718cee2cc8f9a (patch) | |
| tree | 915b8b77cea8c62c51c2089f3804fe1591603acd /libjava/classpath/lib/gnu/java/net | |
| parent | 8b1bf73dffe1d77872c788b80e54dbf3f3416596 (diff) | |
| download | ppe42-gcc-ebb6e3c1fa058536e6d03b3dda0718cee2cc8f9a.tar.gz ppe42-gcc-ebb6e3c1fa058536e6d03b3dda0718cee2cc8f9a.zip | |
Introduce and use code_to_optab and optab_to_code functions
Removes all the direct uses of op->code so that we can change
the representation of "optab". The code_to_optab change is
simply for uniformity (and better type checking).
* optabs.h (struct optab_d): Rename code member to code_.
(struct convert_optab_h): Likewise.
(code_to_optab_): Rename from code_to_optab.
(code_to_optab, optab_to_code): New.
* dojump.c (do_compare_rtx_and_jump): Use code_to_optab.
* ifcvt.c (noce_emit_move_insn): Likewise.
* optabs.c (simplify_expand_binop): Use optab_to_code.
(expand_simple_binop, shift_optab_p, commutative_optab_p): Likewise.
(avoid_expensive_constant, expand_binop_directly): Likewise.
(expand_binop, expand_simple_unop, expand_unop_direct): Likewise.
(expand_unop, prepare_float_lib_cmp, expand_fixed_convert): Likewise.
(have_insn_for, debug_optab_libfuncs): Likewise.
(init_optab, init_optabv, init_convert_optab): Update for optab
member name change.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@189818 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/classpath/lib/gnu/java/net')
0 files changed, 0 insertions, 0 deletions

