mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-09 14:18:20 +00:00
Improve compiler names for trampoline functions
This commit is contained in:
@@ -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>;
|
||||
|
||||
Reference in New Issue
Block a user