core/vm: caught an issue in type declaration

This commit is contained in:
Guillaume Ballet 2018-10-11 13:33:16 +02:00
parent 0f775eaf2d
commit a59a081e4c

View file

@ -329,7 +329,7 @@ func eeiFuncs(in *InterpreterEWASM) []wasm.Function {
Body: &wasm.FunctionBody{}, Body: &wasm.FunctionBody{},
}, },
{ {
Sig: &eeiTypes.Entries[5], Sig: &eeiTypes.Entries[7],
Host: reflect.ValueOf(func(p *exec.Process) int32 { return getReturnDataSize(p, in) }), Host: reflect.ValueOf(func(p *exec.Process) int32 { return getReturnDataSize(p, in) }),
Body: &wasm.FunctionBody{}, Body: &wasm.FunctionBody{},
}, },