diff options
| author | Luuk de Gram <luuk@degram.dev> | 2023-03-08 06:27:03 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2023-03-18 16:12:42 +0100 |
| commit | bddf138e7285eefb86ef880e1200a929193da40b (patch) | |
| tree | 7f5fa11e597ff892801968de310e3b2b95b50c7f /src/InternPool.zig | |
| parent | c31007bb47a4d1d62917324a33e9a9a6cd1df5a6 (diff) | |
| download | zig-bddf138e7285eefb86ef880e1200a929193da40b.tar.gz zig-bddf138e7285eefb86ef880e1200a929193da40b.zip | |
wasm-link: fix storing decls in the right segment
When a decl is `undefined` is must be stored in the data segment when
the build mode is safe. For unsafe optimize modes, it must be stored
in the bss segment instead.
For mutable decls where the atom contains all zeroes, it must always
be stored in the bss segment. All other values will result in the
atom being stored in the data segment.
Diffstat (limited to 'src/InternPool.zig')
0 files changed, 0 insertions, 0 deletions
