summaryrefslogtreecommitdiffhomepage
path: root/ir/be/bespillslots.c
diff options
context:
space:
mode:
authorChristoph Mallon <christoph.mallon@gmx.de>2011-07-27 18:24:37 +0200
committerChristoph Mallon <christoph.mallon@gmx.de>2011-07-27 18:24:37 +0200
commita1c957aeeeeef61ceb2992f7fda6c0b8828906db (patch)
tree719671b8d1350292617df3a656bbe8630764b039 /ir/be/bespillslots.c
parentf48e680d92df930f06d2a5edb48e95ef0dcc1f63 (diff)
Actually assert on mode M, as the comment says. We already know it's a Phi.
Diffstat (limited to 'ir/be/bespillslots.c')
-rw-r--r--ir/be/bespillslots.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/be/bespillslots.c b/ir/be/bespillslots.c
index dbea532..f5bebce 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);