aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-04-24 21:13:46 -0700
committerMichael Forney <mforney@mforney.org>2019-04-24 22:32:22 -0700
commit212dd57e0a870e8fc5532477583e36e465825c5b (patch)
tree1bab1cc3b81cd4c113826d9c7d22dc3de469c743 /cc.h
parent79a8df42a334dab965fa32b6bf4230829dde0d0f (diff)
Free functions when we're done with them
Diffstat (limited to 'cc.h')
-rw-r--r--cc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cc.h b/cc.h
index 0a6641f..e0f6d84 100644
--- a/cc.h
+++ b/cc.h
@@ -487,6 +487,7 @@ struct value *mkintconst(struct repr *, uint64_t);
uint64_t intconstvalue(struct value *);
struct func *mkfunc(char *, struct type *, struct scope *);
+void delfunc(struct func *);
struct type *functype(struct func *);
void funclabel(struct func *, struct value *);
struct value *funcexpr(struct func *, struct expr *);