zig/src-self-hosted
Andrew Kelley 804b51b179 stage2: VarDecl and FnProto take advantage of TrailerFlags API
These AST nodes now have a flags field and then a bunch of optional
trailing objects. The end result is lower memory usage and consequently
better performance. This is part of an ongoing effort to reduce the
amount of memory parsed ASTs take up.

Running `zig fmt` on the std lib:
 * cache-misses: 2,554,321 => 2,534,745
 * instructions: 3,293,220,119 => 3,302,479,874
 * peak memory: 74.0 MiB => 73.0 MiB

Holding the entire std lib AST in memory at the same time:

  93.9 MiB => 88.5 MiB
2020-07-15 02:07:30 -07:00
..
codegen stage2: add retvoid support to CBE 2020-07-13 00:28:11 -07:00
cbe.h CBE: Only try to use GNU attribute when __GNUC__is set 2020-07-08 00:33:44 -04:00
clang.zig translate-c: fix decl statement regression 2020-05-23 17:50:35 -04:00
clang_options.zig zig cc: fix ambiguity with -MT 2020-04-02 21:15:36 -04:00
clang_options_data.zig zig cc looks for native include directories unless -nostdinc 2020-04-04 14:58:24 -04:00
codegen.zig stage2: implement enough for assert() function to codegen 2020-07-14 02:24:12 -07:00
dep_tokenizer.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
introspect.zig self-hosted: use fs.selfExePathAlloc 2020-03-25 18:40:28 -04:00
ir.zig stage2: fix liveness analysis of Call instructions 2020-07-13 23:48:54 -07:00
libc_installation.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
link.zig stage2: add retvoid support to CBE 2020-07-13 00:28:11 -07:00
liveness.zig stage2: fix liveness analysis of Call instructions 2020-07-13 23:48:54 -07:00
llvm.zig fix stage2 build 2019-12-29 11:04:58 +02:00
main.zig CBE: Make C an ObjectFormat instead of a special bool (#5849) 2020-07-12 22:56:31 -04:00
Module.zig stage2: VarDecl and FnProto take advantage of TrailerFlags API 2020-07-15 02:07:30 -07:00
Package.zig self-hosted: link: global offset table support for decls 2020-05-12 20:11:47 -04:00
print_targets.zig run zig fmt on std lib and self hosted 2020-07-11 20:41:19 +03:00
stage2.zig added custom format method for WindowsVersion 2020-07-05 22:43:10 +00:00
test.zig CBE: Make C an ObjectFormat instead of a special bool (#5849) 2020-07-12 22:56:31 -04:00
tracy.zig self-hosted: fix test regressions 2020-06-24 20:28:52 -04:00
translate_c.zig stage2: VarDecl and FnProto take advantage of TrailerFlags API 2020-07-15 02:07:30 -07:00
type.zig stage2: implement enough for assert() function to codegen 2020-07-14 02:24:12 -07:00
TypedValue.zig self-hosted: implement Decl lookup 2020-06-18 17:12:56 -04:00
value.zig stage2: implement enough for assert() function to codegen 2020-07-14 02:24:12 -07:00
windows_sdk.zig self-hosted libc detection 2020-02-16 13:25:30 -05:00
zir.zig stage2: add ZIR support for BoolNot 2020-07-13 20:47:47 -07:00