diff options
| author | Luuk de Gram <luuk@degram.dev> | 2021-12-31 21:59:37 +0100 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-01-01 12:59:43 +0100 |
| commit | ad1b0409962c77ac414be31dc87b8d599be6d3aa (patch) | |
| tree | 1d99bf91a4e5915fe41fa04c527aad5918563be8 /src/stage1/codegen.cpp | |
| parent | 28cfc49c3e0f4f15a960d5e19ad30bc003d8a740 (diff) | |
| download | zig-ad1b0409962c77ac414be31dc87b8d599be6d3aa.tar.gz zig-ad1b0409962c77ac414be31dc87b8d599be6d3aa.zip | |
wasm: Implement pointer arithmetic and refactoring:
- This implements all pointer arithmetic related instructions such as ptr_add, ptr_sub, ptr_elem_val
- We refactored the code, to use `isByRef` to ensure consistancy.
- Pointers will now be loaded correctly, rather then being passed around.
- The behaviour test for pointers is now passing.
Diffstat (limited to 'src/stage1/codegen.cpp')
0 files changed, 0 insertions, 0 deletions
