diff options
| author | joachimschmidt557 <joachim.schmidt557@outlook.com> | 2021-08-17 11:06:55 +0200 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2021-08-20 19:06:30 -0400 |
| commit | 5806c386eb640247f6aa8983132c6b193195ea4a (patch) | |
| tree | 08c05374dc59894c46f7578894a1f4c6af7d9489 /src/Compilation.zig | |
| parent | e48d7bbb99a81d9e6058aa764266dcc3dbe71644 (diff) | |
| download | zig-5806c386eb640247f6aa8983132c6b193195ea4a.tar.gz zig-5806c386eb640247f6aa8983132c6b193195ea4a.zip | |
stage2 codegen: re-allocate result register in finishAir
In some cases (such as bitcast), an operand may be the same MCValue as
the result. If that operand died and was a register, it was freed by
processDeath. We have to "re-allocate" the register.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions
