From 4d132bc09f66a066eec24ddf3efa61a848b67adb Mon Sep 17 00:00:00 2001 From: Linus Torvalds Date: Tue, 23 Nov 2004 14:06:48 -0700 Subject: [PATCH] Pack the phi-list after removing duplicates. --- cse.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cse.c b/cse.c index 165fe55d..708cc9f1 100644 --- a/cse.c +++ b/cse.c @@ -58,6 +58,9 @@ static unsigned long clean_up_phi(struct instruction *insn) hash += hashval(phi->pseudo); hash += hashval(phi->source); } END_FOR_EACH_PTR(phi); + + /* Whenever we delete pointers, we may have to pack the end result */ + PACK_PTR_LIST(&insn->phi_list); return hash; } -- 2.11.4.GIT