aboutsummaryrefslogtreecommitdiff
path: root/test/behavior/basic.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-02-08 19:12:43 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-08 21:01:01 +0100
commit37fea3e3ddc1f7d266d95789c3b1005291bcb96b (patch)
treeb334600461274faaf19708f79263bfac7a37e699 /test/behavior/basic.zig
parent9981b3fd2f7ab85146efa9feebe08a795411d131 (diff)
downloadzig-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 'test/behavior/basic.zig')
0 files changed, 0 insertions, 0 deletions