From 212dd57e0a870e8fc5532477583e36e465825c5b Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 24 Apr 2019 21:13:46 -0700 Subject: Free functions when we're done with them --- cc.h | 1 + 1 file changed, 1 insertion(+) (limited to 'cc.h') 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 *); -- cgit v1.2.3