binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Convert getMemoryOrNull to getMemory

Open ashleynh opened this issue 3 years ago • 0 comments

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

ashleynh avatar Aug 17 '22 23:08 ashleynh