Renamed UserFunc to ImportedFunc

This commit is contained in:
Syrus
2020-05-02 04:19:11 -07:00
parent 337f00a12a
commit fdef870e5a
5 changed files with 6 additions and 5 deletions

View File

@ -337,7 +337,7 @@ impl FuncTranslator {
if let Some((index, _)) =
func_names.iter().find(|(_, name)| *name == target)
{
reloc_target = Some(RelocationTarget::UserFunc(index));
reloc_target = Some(RelocationTarget::ImportedFunc(index));
} else {
if let Some(libcall) = libcalls.get(&target.to_string()) {
reloc_target = Some(RelocationTarget::LibCall(*libcall));