aboutsummaryrefslogtreecommitdiff
path: root/src/codegen
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-08-22 16:36:47 +0200
committerLuuk de Gram <luuk@degram.dev>2022-10-16 15:54:16 +0200
commitb9b20b14ea5886aa862927daa7164073aab56132 (patch)
treee2b60819d8beb2e3fc7c6dcf6f7d65d1ff37b093 /src/codegen
parent99c3578f697fe0b0151049f74208b86244b4d171 (diff)
downloadzig-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