diff options
author | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-06-03 13:36:11 +0200 |
---|---|---|
committer | Jakub Jelinek <jakub@gcc.gnu.org> | 2010-06-03 13:36:11 +0200 |
commit | e2cc34833f35bfcdcac58d0b348900636f54c6f1 (patch) | |
tree | 4da80e843ba65e15d304f423da28f36caa4f3cf1 | |
parent | 193d4c0f78db7d9e50dff16339647bafb76f92a4 (diff) | |
download | gcc-e2cc34833f35bfcdcac58d0b348900636f54c6f1.zip gcc-e2cc34833f35bfcdcac58d0b348900636f54c6f1.tar.gz gcc-e2cc34833f35bfcdcac58d0b348900636f54c6f1.tar.bz2 |
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
-rw-r--r-- | gcc/var-tracking.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/var-tracking.c b/gcc/var-tracking.c index 76cd7f8..03961ea 100644 --- a/gcc/var-tracking.c +++ b/gcc/var-tracking.c @@ -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)); |