(shorten_branches): Correctly access insn needing delay slot.

From-SVN: r2216
This commit is contained in:
Richard Kenner 1992-09-23 19:23:47 -04:00
parent c3c2cb3741
commit b6c9b49af9
1 changed files with 1 additions and 1 deletions

View File

@ -529,7 +529,7 @@ shorten_branches (first)
int i;
int const_delay_slots;
#ifdef DELAY_SLOTS
const_delay_slots = const_num_delay_slots (XVECEXP (body, 0, 1));
const_delay_slots = const_num_delay_slots (XVECEXP (body, 0, 0));
#else
const_delay_slots = 0;
#endif