aboutsummaryrefslogtreecommitdiff
path: root/src/Compilation.zig
diff options
context:
space:
mode:
authorjoachimschmidt557 <joachim.schmidt557@outlook.com>2022-02-13 20:40:51 +0100
committerJakub Konka <kubkon@jakubkonka.com>2022-02-13 23:24:26 +0100
commitf5068107cdf54f143a150feb5d500962ba98e963 (patch)
tree659d8cbad3f6fe798eb11fc47c7a579172fed543 /src/Compilation.zig
parent5f50980880181774de83dab3294ddeb0a121d6f2 (diff)
downloadzig-f5068107cdf54f143a150feb5d500962ba98e963.tar.gz
zig-f5068107cdf54f143a150feb5d500962ba98e963.zip
stage2 regalloc: track Inst instead of ?Inst in register mapping
The information whether a register is allocated to an instruction is already encoded in the free_registers "bitmap". Duplicating that information in the registers map is unnecessary and may lead to performance degradations.
Diffstat (limited to 'src/Compilation.zig')
0 files changed, 0 insertions, 0 deletions