Removes wasm.FunctionInstance type (#1294)

Signed-off-by: Takeshi Yoneda <takeshi@tetrate.io>
This commit is contained in:
Takeshi Yoneda
2023-03-27 22:43:44 -07:00
committed by GitHub
parent 9a87d2628b
commit 0857336746
27 changed files with 352 additions and 464 deletions

View File

@@ -796,7 +796,7 @@ func (e *mockEngine) DeleteCompiledModule(module *wasm.Module) {
}
// NewModuleEngine implements the same method as documented on wasm.Engine.
func (e *mockEngine) NewModuleEngine(_ *wasm.Module, _ []wasm.FunctionInstance) (wasm.ModuleEngine, error) {
func (e *mockEngine) NewModuleEngine(_ *wasm.Module, _ *wasm.ModuleInstance) (wasm.ModuleEngine, error) {
return nil, nil
}