in extra pass-debug validation, don't assume there is always a function, the error may be in a global init
in extra pass-debug validation, don't assume there is always a function, the error may be in a global init

WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen,WebAssembly/binaryen