# wasm2c: reuse locals · gitcafe/zig

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

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

Visibility: public

Requested revision: 6966fb8ca5608cae122434a50ff2cd264502c0eb

Requested commit: 6966fb8ca5608cae122434a50ff2cd264502c0eb

Commit: 6966fb8ca5608cae122434a50ff2cd264502c0eb

Tree: db686902c404fbfabd181a03eb6c814afc1fcf0a

Author: Jacob Young

Committer: Andrew Kelley

## Message

```
wasm2c: reuse locals

 * Reduce stack usage of a -O0 build of zig1 by 33%.
 * Avoid compiler builtin calls.

```

## Parents

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

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