add support for getting a function pointer from a function symbol

This commit is contained in:
Folkert 2023-04-23 15:17:49 +02:00
parent 5a297248e2
commit c22f33ec8a
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
3 changed files with 60 additions and 29 deletions

View file

@ -1184,6 +1184,8 @@ trait Backend<'a> {
ret_layout: &InLayout<'a>,
);
fn build_fn_pointer(&mut self, dst: &Symbol, fn_name: String);
/// Move a returned value into `dst`
fn move_return_value(&mut self, dst: &Symbol, ret_layout: &InLayout<'a>);