diff options
| author | 2025-12-09 08:32:03 +0100 | |
|---|---|---|
| committer | 2025-12-09 08:32:03 +0100 | |
| commit | 54dba7cc860808c8d2417a2abdaa8aa8412e8b49 (patch) | |
| tree | b02c17dc36f5a4125afe26fab171eafc1aa971d9 /ir/regalloc.c | |
| parent | 7cdf81705a1f21bd628a3ab28ca3584d2dc081fa (diff) | |
rega: change assert for spilled callee. it's ok if nspill==1
Diffstat (limited to 'ir/regalloc.c')
| -rw-r--r-- | ir/regalloc.c | 2 |
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); |