aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2021-12-29 20:00:39 +0100
committerLuuk de Gram <luuk@degram.dev>2022-01-01 12:59:18 +0100
commitf644c8b0478126484ce2780eb98336c2b4ff0177 (patch)
tree3253184b67a641f8d72d306280c0f3876ce9ff2a /src/Compilation.zig
parent29164a31cc1dece981588b5dd34482804524df13 (diff)
downloadzig-f644c8b0478126484ce2780eb98336c2b4ff0177.tar.gz
zig-f644c8b0478126484ce2780eb98336c2b4ff0177.zip
wasm: Implement `array_to_slice` and bug fixes:
- Add method to easily create local for virtual stack - Ensure function pointers are passed correctly - Correctly handle slices as return types and values - Fix wrapping error sets/payloads. - Handle ptr-like optionals correctly, by using address '0' as null. - Implement `array_to_slice` - linker: Always emit a table, so call_indirect inside bodies do not fail if there's no table. TODO: Only do this when we emit a call_indirect but the relocation cannot be resolved.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions