CMakeLists.txt | 4 +- src/all_types.hpp | 4 +- src/analyze.cpp | 189 +++--- src/analyze.hpp | 21 +- src/bigint.cpp | 32 +- src/buffer.hpp | 9 +- src/codegen.cpp | 75 +-- src/errmsg.cpp | 4 +- src/glibc.cpp | 8 +- src/hash_map.hpp | 6 +- src/heap.cpp | 377 ++++++++++++ src/heap.hpp | 101 ++++ src/ir.cpp | 1039 +++++++++++++++----------------- src/ir.hpp | 2 - src/link.cpp | 38 +- src/list.hpp | 6 +- src/main.cpp | 48 +- src/mem.cpp | 37 ++ src/mem.hpp | 149 +++++ src/mem_hash_map.hpp | 244 ++++++++ src/mem_list.hpp | 101 ++++ src/mem_profile.cpp | 181 ++++++ src/mem_profile.hpp | 71 +++ src/mem_type_info.hpp | 136 +++++ src/memory_profiling.cpp | 150 ----- src/memory_profiling.hpp | 31 - src/os.cpp | 14 +- src/parser.cpp | 6 +- src/target.cpp | 2 +- src/tokenizer.cpp | 4 +- src/userland.cpp | 4 +- src/util.hpp | 132 +--- src/util_base.hpp | 67 ++ 33 files changed, 2210 insertions(+), 1082 deletions(-)