add function calls and maybe fix function call relocations?

This commit is contained in:
Folkert 2023-09-14 20:26:50 +02:00
parent 356f225b5d
commit 027b8aff4d
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
4 changed files with 22 additions and 3 deletions

View file

@ -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