binaryen
binaryen copied to clipboard
Convert getMemoryOrNull to getMemory
Since we are producing a fatal error anyway, might as well call getMemory instead of getMemoryOrNull and skip the error checking here.
Originally posted by @tlively in https://github.com/WebAssembly/binaryen/pull/4811#discussion_r933621253