aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--ir/regalloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ir/regalloc.c b/ir/regalloc.c
index 65a37e1..520870e 100644
--- a/ir/regalloc.c
+++ b/ir/regalloc.c
@@ -1064,7 +1064,7 @@ devirt(struct rega *ra, struct block *blk)
}
}
}
- if (nspill > 0) assert(ins->op != Ocall);
+ if (nspill > 1) assert(ins->op != Ocall);
if (naddr) {
union ref *r = ins->l.t == RADDR ? &ins->l : &ins->r;
*r = mkaddr(newaddr);