projects
/
libfirm
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f48e680
)
Actually assert on mode M, as the comment says. We already know it's a Phi.
author
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 27 Jul 2011 16:24:37 +0000
(18:24 +0200)
committer
Christoph Mallon
<christoph.mallon@gmx.de>
Wed, 27 Jul 2011 16:24:37 +0000
(18:24 +0200)
ir/be/bespillslots.c
patch
|
blob
|
history
diff --git
a/ir/be/bespillslots.c
b/ir/be/bespillslots.c
index
dbea532
..
f5bebce
100644
(file)
--- 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);