summaryrefslogtreecommitdiff
path: root/6/asm.h
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/asm.h
parentcf9651df0886dc8a4c0fbc6da8488606e1e85c31 (diff)
parent3dc71f6baaf6ff6a7e5a41fd89ea3ec2c7bdf88c (diff)
downloadmc-f90519332a6d24444a54c2b0943f705e8579550f.tar.gz
Merge branch 'peephole-opt'
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/6/asm.h b/6/asm.h
index 2a4946a..b18a617 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -290,6 +290,9 @@ void dbglocprint(FILE *fd, Loc *l, char spec);
void regalloc(Isel *s);
Rclass rclass(Loc *l);
+/* machine dependent optimization */
+void peep(Isel *s);
+
/* useful functions */
size_t tysize(Type *t);
size_t tyalign(Type *t);