aboutsummaryrefslogtreecommitdiff
path: root/src/stage1/zig0.cpp
diff options
context:
space:
mode:
authorjoachimschmidt557 <joachim.schmidt557@outlook.com>2021-02-19 10:23:36 +0100
committerVeikka Tuominen <git@vexu.eu>2021-02-25 22:27:19 +0200
commit297eabd4accbcae42bfe821078a79e4af06a2dde (patch)
tree93aef82dce14373b5f0ff6ebb055acebec73d728 /src/stage1/zig0.cpp
parent3c0238e731d3ec0514dc4a563817d6a27fed272e (diff)
downloadzig-297eabd4accbcae42bfe821078a79e4af06a2dde.tar.gz
zig-297eabd4accbcae42bfe821078a79e4af06a2dde.zip
stage2 ARM: Save callee-saved registers
Add a new allocated_registers bitmap to keep track of all callee-saved registers allocated during generation of this function. Function(.arm).gen uses this data to generate instructions in the function prologue and epilogue to push and pop these registers respectively.
Diffstat (limited to 'src/stage1/zig0.cpp')
0 files changed, 0 insertions, 0 deletions