diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-07-23 19:49:26 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-08-11 11:07:56 +0200 |
| commit | 7e6dbd63989ed4f62b9d12fb03119b0bec1bda84 (patch) | |
| tree | 34879076ce73fcaa855d990a33498e8aca1c5250 /lib/std/debug.zig | |
| parent | 9f1f60fd4311b37493a5297ccaac167d0270f521 (diff) | |
| download | zig-7e6dbd63989ed4f62b9d12fb03119b0bec1bda84.tar.gz zig-7e6dbd63989ed4f62b9d12fb03119b0bec1bda84.zip | |
wasm: Use free-lists for unused locals
When a local is no longer needed (for instance, it was used as
a temporary during arithmetic), it can be appended to one of
the typed freelists. This allows us to re-use locals and therefore
require less locals, reducing the binary size, as well as runtime
initialization.
Diffstat (limited to 'lib/std/debug.zig')
0 files changed, 0 insertions, 0 deletions
