Remove goblin, use object.

This commit is contained in:
Nick Lewycky
2021-05-03 16:23:48 -07:00
parent d3c58bf954
commit 06407e327f
4 changed files with 109 additions and 115 deletions

View File

@ -302,7 +302,7 @@ impl FuncTranslator {
mem_buf_slice,
FUNCTION_SECTION,
RelocationTarget::LocalFunc(*local_func_index),
|name: &String| {
|name: &str| {
Ok(
if let Some(Symbol::LocalFunction(local_func_index)) =
symbol_registry.name_to_symbol(name)