aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-10-14 21:45:05 +0200
committerLuuk de Gram <luuk@degram.dev>2022-10-16 15:54:16 +0200
commite62bb1d6892e0ca4afe921bee2eb8baa778b51b5 (patch)
tree840686f7ff9abba6b4ec83794a1446a3bebfd7ee /src/codegen
parent576bb3f0a965cd7ff3dad6076567657f18d6675e (diff)
downloadzig-e62bb1d6892e0ca4afe921bee2eb8baa778b51b5.tar.gz
zig-e62bb1d6892e0ca4afe921bee2eb8baa778b51b5.zip
wasm: implement branching
Upon a branch, we only allow locals to be freed which were allocated within the same branch as where they die. This ensures that when two or more branches target the same operand we do not try to free it more than once. This does however not implement freeing the local upon branch merging yet.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions