aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-01-16 20:34:56 +0100
committerLuuk de Gram <luuk@degram.dev>2022-01-19 20:01:23 +0100
commit9615d7aee7fa0478ad01e4054b620213b73278e1 (patch)
treefaeb532e10fc9d3b7d24d2066af6bb8bdc3bcd14 /src/codegen
parent38253a680d8a53723667eca2c1f9a56b183dea8c (diff)
downloadzig-9615d7aee7fa0478ad01e4054b620213b73278e1.tar.gz
zig-9615d7aee7fa0478ad01e4054b620213b73278e1.zip
wasm: Refactor storing values.
Due to the new structure of lowerConstant, we can now simplify the logic in a lot of situations. - We no longer have to check the `WValue`'s tag to determine how to load/store a value. - We can now provide simple memcopy's for aggregate types. - Constants are now memoized, meaning we do no longer lower constants on each callsite.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions