From 8e4379be7ff3f2c7601c5d06398b44eab2c05139 Mon Sep 17 00:00:00 2001 From: Boris Boesler Date: Fri, 22 Oct 2004 13:12:41 +0000 Subject: [PATCH] minor change for pseudo graphs [r4184] --- ir/ana/cgana.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ana/cgana.c b/ir/ana/cgana.c index e6eb9de18..355fd8a20 100644 --- a/ir/ana/cgana.c +++ b/ir/ana/cgana.c @@ -120,8 +120,8 @@ static void collect_impls(entity *method, eset *set, int *size, bool *open) { int i; if (get_entity_peculiarity(method) == peculiarity_existent) { - if (get_entity_visibility(method) == visibility_external_allocated) { - assert(get_entity_irg(method) == NULL); + if ((get_entity_visibility(method) == visibility_external_allocated) + && (NULL == get_entity_irg(method))) { *open = true; } else { assert(get_entity_irg(method) != NULL); -- 2.20.1