mirror of
https://github.com/roc-lang/roc.git
synced 2024-11-13 09:49:11 +03:00
wasm_interp: debug print displays the called export
This commit is contained in:
parent
eaf2782bbd
commit
b585bd5fde
@ -224,6 +224,15 @@ impl<'a, I: ImportDispatcher> Instance<'a, I> {
|
||||
module.types.look_up_arg_type_bytes(signature_index)
|
||||
};
|
||||
|
||||
if self.debug_string.is_some() {
|
||||
println!(
|
||||
"Calling export func[{}] '{}' at address {:#x}",
|
||||
fn_index,
|
||||
fn_name,
|
||||
self.program_counter + module.code.section_offset as usize
|
||||
);
|
||||
}
|
||||
|
||||
Ok(arg_type_bytes)
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user