From 4ee47ac66f9121123f85cca29a5d89dfc96229b9 Mon Sep 17 00:00:00 2001 From: =?utf8?q?G=C3=B6tz=20Lindenmaier?= Date: Tue, 10 Jul 2001 13:56:29 +0000 Subject: [PATCH] removed a bug in Cond_kind access routines [r218] --- ir/ir/irnode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ir/ir/irnode.c b/ir/ir/irnode.c index c4142991a..76646ca57 100644 --- a/ir/ir/irnode.c +++ b/ir/ir/irnode.c @@ -494,13 +494,13 @@ set_Cond_selector (ir_node *node, ir_node *selector) { inline cond_kind get_Cond_kind (ir_node *node) { assert (node->op == op_Cond); - return node->attr.c; + return node->attr.c.kind; } inline void set_Cond_kind (ir_node *node, cond_kind kind) { assert (node->op == op_Cond); - node->attr.c = kind; + node->attr.c.kind = kind; } inline ir_node * -- 2.20.1