summaryrefslogtreecommitdiff
path: root/6/isel.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-08-23 15:12:42 -0700
committerOri Bernstein <ori@eigenstate.org>2015-08-23 15:12:42 -0700
commitf90519332a6d24444a54c2b0943f705e8579550f (patch)
tree98bb53204bbe193229954add68840ae7d68d2b80 /6/isel.c
parentcf9651df0886dc8a4c0fbc6da8488606e1e85c31 (diff)
parent3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c (diff)
downloadmc-f90519332a6d24444a54c2b0943f705e8579550f.tar.gz
Merge branch 'peephole-opt'
Diffstat (limited to '6/isel.c')
-rw-r--r--6/isel.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/isel.c b/6/isel.c
index 12f3039..6cc8ab2 100644
--- a/6/isel.c
+++ b/6/isel.c
@@ -1041,6 +1041,7 @@ void selfunc(Isel *is, Func *fn, Htab *globls, Htab *strtab)
}
is->curbb = is->bb[is->nbb - 1];
epilogue(is);
+ peep(is);
regalloc(is);
is->stksz->lit = align(is->stksz->lit, 16);
}