aboutsummaryrefslogtreecommitdiff
path: root/src/Cache.zig
diff options
context:
space:
mode:
authorTimon Kruiper <timonkruiper@gmail.com>2020-12-29 20:09:08 +0100
committerTimon Kruiper <timonkruiper@gmail.com>2021-01-03 17:23:30 +0100
commit19cfd310b0d5ba7d9542d50db281035b15daad35 (patch)
tree21420f447be61d69549f283b055ae0641696711e /src/Cache.zig
parenta5dab15edea5a82a43481504637ed51655c51680 (diff)
downloadzig-19cfd310b0d5ba7d9542d50db281035b15daad35.tar.gz
zig-19cfd310b0d5ba7d9542d50db281035b15daad35.zip
stage2: implement register allocation in LLVM self-hosted backend
A HashMap has been added which store the LLVM values used in a function. Together with the alloc and store instructions the following now works: ``` export fn _start() noreturn { var x: bool = true; exit(); } fn exit() noreturn { unreachable; } ```
Diffstat (limited to 'src/Cache.zig')
0 files changed, 0 insertions, 0 deletions