aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/codegen.cpp
diff options
context:
space:
mode:
authorLuuk de Gram <Luukdegram@users.noreply.github.com>2021-05-23 16:43:44 +0200
committerLuuk de Gram <Luukdegram@users.noreply.github.com>2021-05-28 12:58:17 +0200
commit967a299c346937316158f58f3d3ae1be7ee0f551 (patch)
tree71fddc09063d6802f57369df074f7e3409c37068 /src/stage1/codegen.cpp
parent54810592326e3cd2cad02318aa07dd1d5da2e731 (diff)
downloadzig-967a299c346937316158f58f3d3ae1be7ee0f551.tar.gz
zig-967a299c346937316158f58f3d3ae1be7ee0f551.zip
wasm: Add support for error union as return type
- This currently uses the multi-value feature to return both the possible error, and its payload. - Also genAlloc and the logic to allocate the locals itself have been seperated, so we can create more locals whenever needed, and not only when `genAlloc` is called.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions