mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 22:34:45 +00:00
Always inline assembly functions and calling conventions
This commit is contained in:
parent
fd77d92851
commit
f9d571ebc2
3 changed files with 23 additions and 0 deletions
|
@ -17,6 +17,7 @@ pub trait CallConv<GPReg: GPRegTrait> {
|
|||
const SHADOW_SPACE_SIZE: u8;
|
||||
|
||||
fn callee_saved(reg: &GPReg) -> bool;
|
||||
#[inline(always)]
|
||||
fn caller_saved_regs(reg: &GPReg) -> bool {
|
||||
!Self::callee_saved(reg)
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue