diff options
author | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 22:09:53 +0000 |
---|---|---|
committer | vmakarov <vmakarov@138bc75d-0d04-0410-961f-82ee72b054a4> | 2010-08-11 22:09:53 +0000 |
commit | e5b162c0f55614085f86c76830b5c2f203c212a7 (patch) | |
tree | e22261ab56e653eb90a71253a04127d37b941f43 /gcc/ira-build.c | |
parent | a7a0f3cfa3a3013cf80ab0b863b277f7c6aeb036 (diff) | |
download | gcc-e5b162c0f55614085f86c76830b5c2f203c212a7.tar.gz |
2010-08-11 Vladimir Makarov <vmakarov@redhat.com>
* ira-int.h (ira_remove_allocno_copy_from_list): Remove.
* ira-build.c (ira_remove_allocno_copy_from_list): Remove.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163175 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/ira-build.c')
-rw-r--r-- | gcc/ira-build.c | 42 |
1 files changed, 0 insertions, 42 deletions
diff --git a/gcc/ira-build.c b/gcc/ira-build.c index bf9124eca59..1d3021b342c 100644 --- a/gcc/ira-build.c +++ b/gcc/ira-build.c @@ -1224,48 +1224,6 @@ ira_add_allocno_copy_to_list (ira_copy_t cp) ALLOCNO_COPIES (second) = cp; } -/* Detach a copy CP from allocnos involved into the copy. */ -void -ira_remove_allocno_copy_from_list (ira_copy_t cp) -{ - ira_allocno_t first = cp->first, second = cp->second; - ira_copy_t prev, next; - - next = cp->next_first_allocno_copy; - prev = cp->prev_first_allocno_copy; - if (prev == NULL) - ALLOCNO_COPIES (first) = next; - else if (prev->first == first) - prev->next_first_allocno_copy = next; - else - prev->next_second_allocno_copy = next; - if (next != NULL) - { - if (next->first == first) - next->prev_first_allocno_copy = prev; - else - next->prev_second_allocno_copy = prev; - } - cp->prev_first_allocno_copy = cp->next_first_allocno_copy = NULL; - - next = cp->next_second_allocno_copy; - prev = cp->prev_second_allocno_copy; - if (prev == NULL) - ALLOCNO_COPIES (second) = next; - else if (prev->second == second) - prev->next_second_allocno_copy = next; - else - prev->next_first_allocno_copy = next; - if (next != NULL) - { - if (next->second == second) - next->prev_second_allocno_copy = prev; - else - next->prev_first_allocno_copy = prev; - } - cp->prev_second_allocno_copy = cp->next_second_allocno_copy = NULL; -} - /* Make a copy CP a canonical copy where number of the first allocno is less than the second one. */ void |