# wasm: fix liveness bugs · gitcafe/zig

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

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

Visibility: public

Requested revision: 67d27dbe631d1292be363f4121217d66e2d7fd0f

Requested commit: 67d27dbe631d1292be363f4121217d66e2d7fd0f

Commit: 67d27dbe631d1292be363f4121217d66e2d7fd0f

Tree: a75355b2c870c352a8f977a72d29376674d17553

Author: Luuk de Gram

Committer: Luuk de Gram

## Message

```
wasm: fix liveness bugs

Make sure to increase the reference count for `intcast` when the
operand doesn't require any casting of the respective WebAssembly type.

Function arguments have a reserved slot, and therefore cannot be
re-used arbitrarily

```

## Parents

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

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