summaryrefslogtreecommitdiff
path: root/6/asm.h
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-27 02:29:24 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-27 03:10:27 -0700
commit056ef88fc6d281ae626ddf2c598afe2abdb06888 (patch)
tree365360a966fd895ac3c2b117c1e2a6fce4f23730 /6/asm.h
parentcde7e0d999cf3d56f48d830cf3149f779d86fb31 (diff)
downloadmc-056ef88fc6d281ae626ddf2c598afe2abdb06888.tar.gz
Working closures.
Diffstat (limited to '6/asm.h')
-rw-r--r--6/asm.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/6/asm.h b/6/asm.h
index 4c411a9..811b2b5 100644
--- a/6/asm.h
+++ b/6/asm.h
@@ -268,6 +268,7 @@ extern Loc **locmap; /* mapping from reg id => Loc * */
char *genlocallblstr(char *buf, size_t sz);
char *genlblstr(char *buf, size_t sz);
Type *codetype(Type *ft);
+Type *closuretype(Type *ft);
Node *genlbl(Srcloc loc);
Loc *loclbl(Node *lbl);
Loc *locstrlbl(char *lbl);