aboutsummaryrefslogtreecommitdiff
path: root/gcc/cse.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2015-04-15 15:35:44 +0930
committerAlan Modra <amodra@gcc.gnu.org>2015-04-15 15:35:44 +0930
commit614d5bd88def9761bdfce33815f5e83cc801dab0 (patch)
treeef0b3b5fe19860d399f60a0610fc54c9edee6d90 /gcc/cse.c
parent241cbc7a5f4b39f57c350e8fc32d3a43999ba63b (diff)
downloadgcc-614d5bd88def9761bdfce33815f5e83cc801dab0.zip
gcc-614d5bd88def9761bdfce33815f5e83cc801dab0.tar.gz
gcc-614d5bd88def9761bdfce33815f5e83cc801dab0.tar.bz2
function.h (struct emit_status): Delete x_first_insn, x_last_insn and sequence_stack.
* function.h (struct emit_status): Delete x_first_insn, x_last_insn and sequence_stack. Add seq. (seq_stack): Delete. * function.c (prepare_function_start): Don't access x_last_insn. * emit-rtl.h (get_current_sequence, get_topmost_sequence): New. (get_insns, set_first_insn, get_last_insn, set_last_insn): Use them. * emit_rtl.c (start_sequence, push_topmost_sequence, pop_topmost_sequence, end_sequence, in_sequence_p, init_emit): Use sequence accessors. (get_last_insn_anywhere, add_insn_after_nobb, add_insn_before_nobb, remove_insn): Likewise. Simplify. * config/m32c/m32c.c (m32c_leaf_function_p): Use push_topmost_sequence and pop_topmost_sequence. (m32c_function_needs_enter): Use get_topmost_sequence. Ignore debug insns. * config/rs6000/rs6000.c (rs6000_call_aix): Use get_current_sequence. From-SVN: r222112
Diffstat (limited to 'gcc/cse.c')
0 files changed, 0 insertions, 0 deletions