diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2021-01-14 19:43:30 -0800 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2021-01-14 19:43:30 -0800 |
| commit | 2c43d65c7db47f2b682b8924669b8e6aef22ec0a (patch) | |
| tree | 54eef343d568fa5272b9114fab2d40c197076ae8 /types.h | |
| parent | 3cd61e3abc79a80d38afa9c633c59585aeb0311a (diff) | |
Made all the heap garbage collection code optional, which saves some
time and memory.
Diffstat (limited to 'types.h')
| -rw-r--r-- | types.h | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -94,7 +94,10 @@ typedef struct match_s { struct match_s *child, *nextsibling; vm_op_t *op; // Intrusive linked list nodes for garbage collection: - struct match_s **atme, *next; + struct match_s *next; +#ifdef DEBUG_HEAP + struct match_s **atme; +#endif int refcount; } match_t; |
