aboutsummaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
committerBruce Hill <bruce@bruce-hill.com>2021-01-13 01:48:36 -0800
commit45d7aff47545f52136487fbb5b06cdcf716cbe9f (patch)
tree38140eaa9d47cea8276e06cec93f0cb2988eae8d /types.h
parent7e4b287d9bd904aaf9cc2bf77cdd456194130e99 (diff)
Major overhaul of some of the memory tracking code, as well as some
cleanup of the compilation code.
Diffstat (limited to 'types.h')
-rw-r--r--types.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/types.h b/types.h
index 52b17e5..ad7781b 100644
--- a/types.h
+++ b/types.h
@@ -98,5 +98,14 @@ typedef struct def_s {
struct def_s *next;
} def_t;
+//
+// Structure used for tracking allocated ops, which must be freed when the file
+// is freed.
+//
+typedef struct allocated_op_s {
+ struct allocated_op_s *next;
+ vm_op_t op;
+} allocated_op_t;
+
#endif
// vim: ts=4 sw=0 et cino=L2,l1,(0,W4,m1