spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of non-NOTE insns.
* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of non-NOTE insns. From-SVN: r162845
This commit is contained in:
parent
241a2b9ec2
commit
051de0eb4f
@ -1,3 +1,8 @@
|
||||
2010-08-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
|
||||
|
||||
* config/spu/spu.c (spu_emit_branch_hint): Do not access NOTE_KIND of
|
||||
non-NOTE insns.
|
||||
|
||||
2010-08-03 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* ipa-split.c (struct split_point): Add split_part_set_retval.
|
||||
|
@ -2330,7 +2330,7 @@ spu_emit_branch_hint (rtx before, rtx branch, rtx target,
|
||||
return;
|
||||
|
||||
/* If we have a Basic block note, emit it after the basic block note. */
|
||||
if (NOTE_KIND (before) == NOTE_INSN_BASIC_BLOCK)
|
||||
if (NOTE_INSN_BASIC_BLOCK_P (before))
|
||||
before = NEXT_INSN (before);
|
||||
|
||||
branch_label = gen_label_rtx ();
|
||||
|
Loading…
Reference in New Issue
Block a user