mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 05:49:08 +00:00
add function calls and maybe fix function call relocations?
This commit is contained in:
parent
356f225b5d
commit
027b8aff4d
4 changed files with 22 additions and 3 deletions
|
@ -28,6 +28,7 @@ use roc_mono::list_element_layout;
|
|||
mod generic64;
|
||||
mod object_builder;
|
||||
pub use object_builder::build_module;
|
||||
use roc_target::TargetInfo;
|
||||
mod run_roc;
|
||||
|
||||
#[derive(Debug, Clone, Copy)]
|
||||
|
@ -303,6 +304,7 @@ trait Backend<'a> {
|
|||
fn interns_mut(&mut self) -> &mut Interns;
|
||||
fn interner(&self) -> &STLayoutInterner<'a>;
|
||||
fn relocations_mut(&mut self) -> &mut Vec<'a, Relocation>;
|
||||
fn target_info(&self) -> TargetInfo;
|
||||
|
||||
fn interner_mut(&mut self) -> &mut STLayoutInterner<'a> {
|
||||
self.module_interns_helpers_mut().1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue