aboutsummaryrefslogtreecommitdiff
path: root/src/runtime/mem.c
AgeCommit message (Collapse)Author
2009-06-06move src/runtime -> src/lib/runtime;Russ Cox
only automatic g4 mv here. R=r OCL=30002 CL=30007
2009-03-30more 386 runtime - can run tiny c programs.Russ Cox
R=r DELTA=1926 (1727 added, 168 deleted, 31 changed) OCL=26876 CL=26878
2009-02-06closures - runtime and debugger support, test caseRuss Cox
R=r DELTA=257 (250 added, 1 deleted, 6 changed) OCL=24509 CL=24565
2009-01-13Tweak code to make it easier to compile with gcc.Ian Lance Taylor
+ Use macros to name symbols with non-ASCII characters. + Make some variables unsigned, because they are compared against unsigned values. + Fix a few void* pointers to be MLink*. R=rsc DELTA=94 (44 added, 3 deleted, 47 changed) OCL=22303 CL=22638
2008-12-19malloc bug fixes.Russ Cox
use malloc by default. free stacks. R=r DELTA=424 (333 added, 29 deleted, 62 changed) OCL=21553 CL=21584
2008-12-05add support for ref counts to memory allocator.Russ Cox
mark and sweep, stop the world garbage collector (intermediate step in the way to ref counting). can run pretty with an explicit gc after each file. R=r DELTA=502 (346 added, 143 deleted, 13 changed) OCL=20630 CL=20635