Define basics of x86_64 calling conventions

This commit is contained in:
Brendan Hansknecht 2020-11-16 23:37:02 -08:00
parent 44ef41f9bb
commit 35fd54b8fd
2 changed files with 73 additions and 40 deletions

View file

@ -46,7 +46,7 @@ pub fn build_module<'a>(
trait Backend<'a> {
/// new creates a new backend that will output to the specific Object.
fn new(env: &'a Env) -> Self;
fn new(env: &'a Env, target: &Triple) -> Self;
fn env(&self) -> &'a Env<'a>;