mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
WIP
This commit is contained in:
parent
f96c78b3a5
commit
10aa4f58c9
5 changed files with 191 additions and 5 deletions
|
@ -919,6 +919,12 @@ impl<
|
|||
ASM::function_pointer(&mut self.buf, &mut self.relocs, fn_name, reg)
|
||||
}
|
||||
|
||||
fn build_data_pointer(&mut self, dst: &Symbol, data_name: String) {
|
||||
let reg = self.storage_manager.claim_general_reg(&mut self.buf, dst);
|
||||
|
||||
ASM::data_pointer(&mut self.buf, &mut self.relocs, data_name, reg)
|
||||
}
|
||||
|
||||
fn build_fn_call(
|
||||
&mut self,
|
||||
dst: &Symbol,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue