mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-29 14:54:47 +00:00
Add ability to return int literals
This commit is contained in:
parent
86c3c0a409
commit
a8986087f9
4 changed files with 136 additions and 32 deletions
|
@ -59,9 +59,9 @@ pub fn build_module<'a>(
|
|||
}
|
||||
|
||||
// Build procedures.
|
||||
let mut backend: X86_64Backend = Backend::new();
|
||||
let mut backend: X86_64Backend = Backend::new(env);
|
||||
for (proc_id, proc) in procs {
|
||||
let proc_data = backend.build_proc(env, proc);
|
||||
let proc_data = backend.build_proc(proc);
|
||||
output.add_symbol_data(proc_id, text, proc_data, 16);
|
||||
}
|
||||
Ok(output)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue