Renamed back into LocalFunc

This commit is contained in:
Syrus
2020-05-02 04:43:31 -07:00
parent fdef870e5a
commit deace5beb0
4 changed files with 20 additions and 16 deletions

View File

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