work
This commit is contained in:
@@ -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>,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user