From: Christoph Mallon Date: Fri, 26 Sep 2008 11:02:20 +0000 (+0000) Subject: Fix crash in debug output. X-Git-Url: http://nsz.repo.hu/git/?a=commitdiff_plain;h=78655955dc13bbb020748930aa346c3b9b21d20e;p=libfirm Fix crash in debug output. [r22287] --- diff --git a/ir/ana/irmemory.c b/ir/ana/irmemory.c index 8bce1aafd..83a184008 100644 --- a/ir/ana/irmemory.c +++ b/ir/ana/irmemory.c @@ -770,7 +770,7 @@ static int is_hidden_cast(ir_mode *mode, ir_mode *ent_mode) { } /* is_hidden_cast */ /** - * Determine the usage state of a node (or it's successor Sels). + * Determine the usage state of a node (or its successor Sels). * * @param irn the node */ @@ -1041,7 +1041,7 @@ static void print_entity_usage_flags(ir_type *tp) { if (flags == 0) continue; - ir_printf("%+F:"); + ir_printf("%+F:", ent); if (flags & ir_usage_address_taken) printf(" address_taken"); if (flags & ir_usage_read)