Commit 3ddabbd7 by David Malcolm Committed by David Malcolm

varasm.c: Use rtx_insn

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

	* varasm.c (mark_constants): Strengthen param "insn" from rtx to
	rtx_insn *.
	(mark_constant_pool): Likewise for local "insn".

From-SVN: r214391
parent 1cbcd833
2014-08-23 David Malcolm <dmalcolm@redhat.com> 2014-08-23 David Malcolm <dmalcolm@redhat.com>
* varasm.c (mark_constants): Strengthen param "insn" from rtx to
rtx_insn *.
(mark_constant_pool): Likewise for local "insn".
2014-08-23 David Malcolm <dmalcolm@redhat.com>
* valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from * valtrack.c (dead_debug_reset_uses): Strengthen local "insn" from
rtx to rtx_insn *. rtx to rtx_insn *.
(dead_debug_promote_uses): Likewise. (dead_debug_promote_uses): Likewise.
......
...@@ -3916,7 +3916,7 @@ mark_constant (rtx *current_rtx, void *data ATTRIBUTE_UNUSED) ...@@ -3916,7 +3916,7 @@ mark_constant (rtx *current_rtx, void *data ATTRIBUTE_UNUSED)
deferred strings that are used. */ deferred strings that are used. */
static void static void
mark_constants (rtx insn) mark_constants (rtx_insn *insn)
{ {
if (!INSN_P (insn)) if (!INSN_P (insn))
return; return;
...@@ -3946,7 +3946,7 @@ mark_constants (rtx insn) ...@@ -3946,7 +3946,7 @@ mark_constants (rtx insn)
static void static void
mark_constant_pool (void) mark_constant_pool (void)
{ {
rtx insn; rtx_insn *insn;
if (!crtl->uses_const_pool && n_deferred_constants == 0) if (!crtl->uses_const_pool && n_deferred_constants == 0)
return; return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment