summaryrefslogtreecommitdiff
path: root/src/pool.c
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2015-02-15 10:57:08 -0500
committerAdrian Thurston <thurston@complang.org>2015-02-15 10:57:08 -0500
commit2a54c2ef48d7ed512c3a2e38fd85440924960850 (patch)
tree695aeb7e443fe22fa9dfd2be6f861a2c12161311 /src/pool.c
parenta7bf3fea2087b0edf93bae8cc26557d9e6200b2b (diff)
downloadcolm-2a54c2ef48d7ed512c3a2e38fd85440924960850.tar.gz
cleanup, including removal of map and list element pools
Diffstat (limited to 'src/pool.c')
-rw-r--r--src/pool.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pool.c b/src/pool.c
index f5ac6fa9..f08f99b8 100644
--- a/src/pool.c
+++ b/src/pool.c
@@ -200,6 +200,7 @@ long parseTreeNumLost( Program *prg )
* ListEl
*/
+#if 0
ListEl *listElAllocate( Program *prg )
{
return (ListEl*) poolAllocAllocate( &prg->listElPool );
@@ -219,11 +220,13 @@ long listElNumLost( Program *prg )
{
return poolAllocNumLost( &prg->listElPool );
}
+#endif
/*
* MapEl
*/
+#if 0
MapEl *mapElAllocate( Program *prg )
{
return (MapEl*) poolAllocAllocate( &prg->mapElPool );
@@ -243,6 +246,7 @@ long mapElNumLost( Program *prg )
{
return poolAllocNumLost( &prg->mapElPool );
}
+#endif
/*
* Head
@@ -296,6 +300,7 @@ long locationNumLost( Program *prg )
* Stream
*/
+#if 0
Stream *streamAllocate( Program *prg )
{
return (Stream*)mapElAllocate( prg );
@@ -305,3 +310,4 @@ void streamFree( Program *prg, Stream *stream )
{
mapElFree( prg, (MapEl*)stream );
}
+#endif