aboutsummaryrefslogtreecommitdiff
path: root/src/Module.zig
diff options
context:
space:
mode:
authorLuuk de Gram <luuk@degram.dev>2022-10-13 21:33:26 +0200
committerLuuk de Gram <luuk@degram.dev>2022-10-16 15:54:16 +0200
commit576bb3f0a965cd7ff3dad6076567657f18d6675e (patch)
treee6db50bc8e680c73935f3f392b754ed4c8a4e164 /src/Module.zig
parentb17c8c542420e14e24ec397b248dfc101a08421e (diff)
downloadzig-576bb3f0a965cd7ff3dad6076567657f18d6675e.tar.gz
zig-576bb3f0a965cd7ff3dad6076567657f18d6675e.zip
wasm: de -and increment reference count locals
When reusing an operand it increases the reference count, then when an operand dies it will only decrease the reference count. When this reaches 0, the local will be virtually freed, meaning it can be re-used for a new local.
Diffstat (limited to 'src/Module.zig')
0 files changed, 0 insertions, 0 deletions