diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2023-09-26 18:36:57 -0700 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2023-09-27 04:09:22 -0700 |
| commit | 1606717b5fed83ee64ba1a91e55248e07a51afa6 (patch) | |
| tree | a7a1de9fe9ff8ddac0c8b920c6fabd0598434eaf /src/arch/arm/CodeGen.zig | |
| parent | 70563aeac3e9efee7e8fb24744bc97197fc0ca9b (diff) | |
| download | zig-1606717b5fed83ee64ba1a91e55248e07a51afa6.tar.gz zig-1606717b5fed83ee64ba1a91e55248e07a51afa6.zip | |
C backend: flatten out some of the long-lived state
When the compiler's state lives through multiple Compilation.update()
calls, the C backend stores the rendered C source code for each
decl code body and forward declarations.
With this commit, the state is still stored, but it is managed in one
big array list in link/C.zig rather than many array lists, one for each
decl. This means simpler serialization and deserialization.
Diffstat (limited to 'src/arch/arm/CodeGen.zig')
0 files changed, 0 insertions, 0 deletions
