mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 08:34:33 +00:00
Use X15 instead of requesting general reg
This commit is contained in:
parent
1021423e69
commit
27aab8b69a
1 changed files with 1 additions and 4 deletions
|
@ -766,8 +766,7 @@ impl AArch64CallLoadArgs {
|
||||||
in_layout,
|
in_layout,
|
||||||
);
|
);
|
||||||
|
|
||||||
let tmp_sym = Symbol::DEV_TMP;
|
let tmp_reg = AArch64GeneralReg::X15;
|
||||||
let tmp_reg = storage_manager.claim_general_reg(buf, &tmp_sym);
|
|
||||||
|
|
||||||
super::x86_64::copy_to_base_offset::<_, _, AArch64Assembler>(
|
super::x86_64::copy_to_base_offset::<_, _, AArch64Assembler>(
|
||||||
buf,
|
buf,
|
||||||
|
@ -778,8 +777,6 @@ impl AArch64CallLoadArgs {
|
||||||
0,
|
0,
|
||||||
);
|
);
|
||||||
|
|
||||||
storage_manager.free_symbol(&tmp_sym);
|
|
||||||
|
|
||||||
self.general_i += 1;
|
self.general_i += 1;
|
||||||
}
|
}
|
||||||
None => {
|
None => {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue