var-tracking.c: Use rtx_insn
commit81e5dbfac2434770d760b2c236e86940599546b8
authordmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Aug 2014 00:54:15 +0000 (23 00:54 +0000)
committerdmalcolm <dmalcolm@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 23 Aug 2014 00:54:15 +0000 (23 00:54 +0000)
tree571e5898c78d19dcce89e57e9c3cc3612bc7ad6d
parentbc7cafeb4c60dfec3e8a873ef11ee051429092a6
var-tracking.c: Use rtx_insn

gcc/
2014-08-23  David Malcolm  <dmalcolm@redhat.com>

* var-tracking.c (struct micro_operation_def): Strengthen field
"insn" from rtx to rtx_insn *.
(struct emit_note_data_def): Likewise.
(insn_stack_adjust_offset_pre_post): Likewise for param "insn".
(vt_stack_adjustments): Likewise for local "insn".
(adjust_insn): Likewise for param "insn".
(val_store): Likewise.
(val_resolve): Likewise.
(struct count_use_info): Likewise for field "insn".
(log_op_type): Likewise for param "insn".
(reverse_op): Likewise.
(prepare_call_arguments): Likewise.
(add_with_sets):  The initial param takes an insn, but we can't
yet strengthen it from rtx to rtx_insn * since it's used as a
cselib_record_sets_hook callback.  For now rename initial param
from "insn" to "uncast_insn", and introduce a local "insn" of
the stronger rtx_insn * type, with a checked cast.
(compute_bb_dataflow): Strengthen local "insn" from rtx to
rtx_insn *.
(emit_note_insn_var_location): Likewise.
(emit_notes_for_changes): Likewise.
(emit_notes_for_differences): Likewise.
(next_non_note_insn_var_location): Likewise for return type and
for param "insn".
(emit_notes_in_bb): Likewise for locals "insn" and "next_insn".
(vt_initialize): Likewise for local "insn".
(delete_debug_insns): Likewise for locals "insn" and "next".

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@214392 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/var-tracking.c