Rename WasmRuntime's get_name to get_func_name.

This commit is contained in:
Dan Gohman
2017-10-10 10:21:06 -07:00
parent 8e1ba080c0
commit d4c0c5babc
3 changed files with 4 additions and 4 deletions

View File

@@ -152,7 +152,7 @@ pub fn translate_module(
func.signature = runtime
.get_signature(runtime.get_func_type(function_index))
.clone();
func.name = runtime.get_name(function_index);
func.name = runtime.get_func_name(function_index);
trans
.translate_from_reader(parser.create_binary_reader(), &mut func, runtime)
.map_err(|e| String::from(e.description()))?;