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

@@ -151,7 +151,7 @@ pub trait FuncEnvironment {
/// by the user, they are only for `cretonne-wasm` internal use.
pub trait WasmRuntime: FuncEnvironment {
/// Return the name for the given function index.
fn get_name(&self, func_index: FunctionIndex) -> ir::FunctionName;
fn get_func_name(&self, func_index: FunctionIndex) -> ir::FunctionName;
/// Declares a function signature to the runtime.
fn declare_signature(&mut self, sig: &ir::Signature);