diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-02-08 19:12:43 +0100 |
|---|---|---|
| committer | Jakub Konka <kubkon@jakubkonka.com> | 2022-02-08 21:01:01 +0100 |
| commit | 37fea3e3ddc1f7d266d95789c3b1005291bcb96b (patch) | |
| tree | b334600461274faaf19708f79263bfac7a37e699 /src/Compilation.zig | |
| parent | 9981b3fd2f7ab85146efa9feebe08a795411d131 (diff) | |
| download | zig-37fea3e3ddc1f7d266d95789c3b1005291bcb96b.tar.gz zig-37fea3e3ddc1f7d266d95789c3b1005291bcb96b.zip | |
wasm: Store stack-offset as WValue
Rather than using runtime to perform pointer arithmetic to set the stack offset as
a pointer into a local, we now store the offset as a WValue from the bottom of the stack.
This has the benefit of less instructions, few locals, and less performance impact when
we allocate a value on the virtual stack.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
