diff options
| author | Luuk de Gram <luuk@degram.dev> | 2021-11-20 21:28:39 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2021-11-21 21:07:55 +0100 |
| commit | deb8d0765b46f75546f4342ad9078dbe6ad7b9be (patch) | |
| tree | 960363fd9114f4e4485480a961a5be8b09abf412 /src/Compilation.zig | |
| parent | ec5220405b0218f892f6a1636ddd04d791017309 (diff) | |
| download | zig-deb8d0765b46f75546f4342ad9078dbe6ad7b9be.tar.gz zig-deb8d0765b46f75546f4342ad9078dbe6ad7b9be.zip | |
wasm: Fix text cases and add pointer test cases
Ensure all previous test cases are still passing, as well as add some basic tests for now
for testing pointers to the stack.
This means we can start implementing wasm's C ABI found at: https://github.com/WebAssembly/tool-conventions/blob/main/BasicCABI.md
We also simplified the block logic by always using 'void' block types and instead writing the value to a local,
which can then be referenced by continues instructions, as done currently by AIR.
Besides this, we also no longer need to insert blocks at an offset, as we simply write the saved temporary
after we create the block.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
