aboutsummaryrefslogtreecommitdiff
path: root/lib/std/Thread.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-02-23 22:45:51 +0100
committerLuuk de Gram <luuk@degram.dev>2022-02-25 09:33:15 +0100
commitf4adb53bcfff18c24758bf4ea2968efd17911e02 (patch)
treee8af179bb1a842b1e7dbf6fa63614583bb359667 /lib/std/Thread.zig
parent27eb42c15e4e9ab547eaf02cca8810cc0e10e6bf (diff)
downloadzig-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 'lib/std/Thread.zig')
0 files changed, 0 insertions, 0 deletions