# wasm: implement branching · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/e62bb1d6892e0ca4afe921bee2eb8baa778b51b5)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: e62bb1d6892e0ca4afe921bee2eb8baa778b51b5

Requested commit: e62bb1d6892e0ca4afe921bee2eb8baa778b51b5

Commit: e62bb1d6892e0ca4afe921bee2eb8baa778b51b5

Tree: 840686f7ff9abba6b4ec83794a1446a3bebfd7ee

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
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.

```

## Parents

- [576bb3f0a965cd7ff3dad6076567657f18d6675e](https://git.cafe/gitcafe/zig/commit/576bb3f0a965cd7ff3dad6076567657f18d6675e?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/e62bb1d6892e0ca4afe921bee2eb8baa778b51b5?format=markdown)
