aboutsummaryrefslogtreecommitdiff
path: root/mem.c
diff options
context:
space:
mode:
authorQuentin Carbonneaux <[email protected]>2016-03-30 12:04:43 -0400
committerQuentin Carbonneaux <[email protected]>2016-03-31 09:15:50 -0400
commit729aa97b799f72afdec3604f96526760701f36bc (patch)
tree35761b52e15fe48abe779a07766852717e4e9d6c /mem.c
parentbeec05cd3b6c85af3f3cc8956f4583d9027d569d (diff)
cleanup error handling
Diffstat (limited to 'mem.c')
-rw-r--r--mem.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mem.c b/mem.c
index bda43d7..98556e1 100644
--- a/mem.c
+++ b/mem.c
@@ -22,7 +22,7 @@ memopt(Fn *fn)
for (i=b->ins; i-b->ins < b->nins; i++) {
if (OAlloc > i->op || i->op > OAlloc1)
continue;
- assert(NAlign == 3);
+ /* specific to NAlign == 3 */
assert(rtype(i->to) == RTmp);
t = &fn->tmp[i->to.val];
for (u=t->use; u != &t->use[t->nuse]; u++) {