summaryrefslogtreecommitdiff
path: root/src/program.h
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2014-12-20 12:07:22 -0500
committerAdrian Thurston <thurston@complang.org>2014-12-20 12:07:22 -0500
commit9153bb402e7f18df2c600a716021e004438aaf1e (patch)
tree07f0101a684424b80ea78790260d09fe43d167e9 /src/program.h
parent0b6d8c987f90868c6fc6ed1aa3346d6cd10201aa (diff)
downloadcolm-9153bb402e7f18df2c600a716021e004438aaf1e.tar.gz
added structElInfo to the runtime data
Storing size and can add trees offsets for downreffing on free.
Diffstat (limited to 'src/program.h')
-rw-r--r--src/program.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/program.h b/src/program.h
index 130a6532..4e119ca4 100644
--- a/src/program.h
+++ b/src/program.h
@@ -20,6 +20,9 @@ typedef struct colm_sections
LangElInfo *lelInfo;
long numLangEls;
+ StructElInfo *selInfo;
+ long numStructEls;
+
ProdInfo *prodInfo;
long numProds;
@@ -82,7 +85,9 @@ typedef struct colm_sections
typedef struct colm_heap_item
{
- struct colm_heap_item *prev, *next;
+ short id;
+ struct colm_heap_item *prev;
+ struct colm_heap_item *next;
} HeapItem;
typedef struct colm_program