diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-02-23 22:45:51 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-02-25 09:33:15 +0100 |
| commit | f4adb53bcfff18c24758bf4ea2968efd17911e02 (patch) | |
| tree | e8af179bb1a842b1e7dbf6fa63614583bb359667 /test/behavior | |
| parent | 27eb42c15e4e9ab547eaf02cca8810cc0e10e6bf (diff) | |
| download | zig-f4adb53bcfff18c24758bf4ea2968efd17911e02.tar.gz zig-f4adb53bcfff18c24758bf4ea2968efd17911e02.zip | |
wasm: Refactor lowerUnnamedConst
Rather than ping ponging between codegen and the linker to generate the symbols/atoms
for a local constant and its relocations. We now create all neccesary objects within the linker.
This simplifies the code as we can now simply call `lowerUnnamedConst` from anywhere in codegen,
allowing us to further improve lowering constants into .rodata so we do not have to sacrifice
lowering certain types such as decl_ref's where its type is a slice.
Diffstat (limited to 'test/behavior')
0 files changed, 0 insertions, 0 deletions
