summaryrefslogtreecommitdiff
path: root/colm/compiler.cc
diff options
context:
space:
mode:
authorAdrian Thurston <thurston@complang.org>2012-08-29 11:15:47 -0400
committerAdrian Thurston <thurston@complang.org>2012-08-29 11:15:47 -0400
commit10978e1598a33811085cf3e51684948087d3c4db (patch)
treee569daa33a777fd53bb88348944cfcb909b647bd /colm/compiler.cc
parentfecd7e2f73b8e13d830b2c3acebc306e50e54a5b (diff)
downloadcolm-10978e1598a33811085cf3e51684948087d3c4db.tar.gz
keep a reserve stack block around for balanced push/pop following contiguous call
There may be some balanced push/pop calls after a call to contiguous, but we still need the contiguous space there. The pop can cause the contiguous stack block to be freed. One way to prevent this is to keep the last popped block around as a reserve and use it if it's big enough. Not sure if this is good enough, but so far seems to work ok.
Diffstat (limited to 'colm/compiler.cc')
0 files changed, 0 insertions, 0 deletions