This commit is contained in:
2026-07-18 13:33:59 -04:00
parent 6cc81d7a5c
commit c062993130
14 changed files with 429 additions and 68 deletions
+7 -1
View File
@@ -20,9 +20,15 @@ pub struct X86_64;
impl Arch for X86_64 {
const NAME: &str = "x86_64";
type Asm = Code;
type Asm = Asm;
type Addr = u64;
type CallConv = CallConv;
fn compile(p: &Program<Self>) -> Result<LinkedProgram<Self::Addr>, CompilerMsg> {
compile(p)
}
}
pub struct CallConv {
volatile: Vec<Reg>,
nonvolatile: Vec<Reg>,
}