binaryen icon indicating copy to clipboard operation
binaryen copied to clipboard

Halt stack.h with an error if multi-memories are present

Open ashleynh opened this issue 3 years ago • 0 comments

This pass can probably halt with an error (like on line 49 above) if there are no memories. Please also add a comment that we are assuming that memory 0 is the "main" memory here.

Originally posted by @kripken in https://github.com/WebAssembly/binaryen/pull/4811#discussion_r933611134

ashleynh avatar Aug 18 '22 00:08 ashleynh