arbitrary addr
This commit is contained in:
@@ -19,7 +19,8 @@ pub struct X86_64;
|
||||
impl Arch for X86_64 {
|
||||
const NAME: &str = "x86_64";
|
||||
type Asm = Asm;
|
||||
fn compile(p: &Program<Self>) -> Result<LinkedProgram, CompilerMsg> {
|
||||
type Addr = u64;
|
||||
fn compile(p: &Program<Self>) -> Result<LinkedProgram<Self::Addr>, CompilerMsg> {
|
||||
encode_program(p)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user