Improve compiler names for trampoline functions

This commit is contained in:
Syrus
2020-05-17 20:32:36 -07:00
parent 89365641bc
commit 5dfa9faafb
9 changed files with 19 additions and 18 deletions

View File

@@ -82,7 +82,7 @@ pub trait Compiler {
/// let func = instance.exports.func("my_func");
/// func.call(&[Value::I32(1)]);
/// ```
fn compile_host2wasm_trampolines(
fn compile_function_call_trampolines(
&self,
signatures: &[FunctionType],
) -> Result<Vec<FunctionBody>, CompileError>;
@@ -104,7 +104,7 @@ pub trait Compiler {
/// }
/// }
/// ```
fn compile_wasm2host_trampolines(
fn compile_dynamic_function_trampolines(
&self,
module: &Module,
) -> Result<PrimaryMap<FunctionIndex, FunctionBody>, CompileError>;