From a1c957aeeeeef61ceb2992f7fda6c0b8828906db Mon Sep 17 00:00:00 2001 From: Christoph Mallon Date: Wed, 27 Jul 2011 18:24:37 +0200 Subject: [PATCH] Actually assert on mode M, as the comment says. We already know it's a Phi. --- ir/be/bespillslots.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c index dbea532ab..f5bebce29 100644 --- a/ir/be/bespillslots.c +++ b/ir/be/bespillslots.c @@ -623,7 +623,7 @@ static void assign_spillslots(be_fec_env_t *env) ir_node *block = get_nodes_block(node); /* should be a PhiM */ - assert(is_Phi(node)); + assert(get_irn_mode(node) == mode_M); for (i = 0, arity = get_irn_arity(node); i < arity; ++i) { ir_node *arg = get_irn_n(node, i); -- 2.20.1