var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if ...

* var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if                                                                        
	set->regs[i] is NULL or has just one entry.

From-SVN: r160217
This commit is contained in:
Jakub Jelinek 2010-06-03 13:36:11 +02:00
parent 193d4c0f78
commit e2cc34833f
1 changed files with 2 additions and 2 deletions

View File

@ -3695,8 +3695,8 @@ dataflow_set_equiv_regs (dataflow_set *set)
rtx canon[NUM_MACHINE_MODES];
/* If the list is empty or one entry, no need to canonicalize
anything.  */
 if (set->regs[i] == NULL || set->regs[i]->next == NULL)
anything. */
if (set->regs[i] == NULL || set->regs[i]->next == NULL)
continue;
memset (canon, 0, sizeof (canon));