diff options
| author | Luuk de Gram <luuk@degram.dev> | 2022-08-22 16:36:47 +0200 |
|---|---|---|
| committer | Luuk de Gram <luuk@degram.dev> | 2022-10-16 15:54:16 +0200 |
| commit | b9b20b14ea5886aa862927daa7164073aab56132 (patch) | |
| tree | e2b60819d8beb2e3fc7c6dcf6f7d65d1ff37b093 /src/codegen | |
| parent | 99c3578f697fe0b0151049f74208b86244b4d171 (diff) | |
| download | zig-b9b20b14ea5886aa862927daa7164073aab56132.tar.gz zig-b9b20b14ea5886aa862927daa7164073aab56132.zip | |
wasm: use liveness analysis for locals
This hooks reusal of locals into liveness analysis.
Meaning that when an operand dies, and is a local,
it will automatically be freed so it can be re-used
when a new local is required. The result of this, is
a lower allocation required for locals. Having less
locals means smaller binary size, as well as faster
compilation speed when loaded by the runtime.
Diffstat (limited to 'src/codegen')
0 files changed, 0 insertions, 0 deletions
