diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-05-14 19:23:31 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-05-18 07:43:33 +0200 |
| commit | 502f5d824626675aecf9daaaf6af7548ef3e7f09 (patch) | |
| tree | 9c51f320b38c551a6d72f13be5e326e1c3dea34c /src/codegen/llvm.zig | |
| parent | 03a3ea2c1577208311d85482faadac6361442971 (diff) | |
| download | zig-502f5d824626675aecf9daaaf6af7548ef3e7f09.tar.gz zig-502f5d824626675aecf9daaaf6af7548ef3e7f09.zip | |
wasm: Fix C-ABI for 128 bit integers
We now pass the correct wasm type when the return type is a 128-bit integer.
When a function accepts a 128-bit integer, we now allocate space on the virtual stack
and store both arguments within that space as currently all following instructions
assume the 128 bit integer doesn't live in a local, but the stack.
Diffstat (limited to 'src/codegen/llvm.zig')
0 files changed, 0 insertions, 0 deletions
