Closed rossberg closed 1 year ago
Yes, absolutely. And for that to work cleanly in the future, we must not mess up the dependency order now.
I'd love to do the relaxation of section order and repetition sooner rather than later, but despite many weak use cases, we are still missing a strong one, it seems.
Yes, absolutely. And for that to work cleanly in the future, we must not mess up the dependency order now.
I'd love to do the relaxation of section order and repetition sooner rather than later, but despite many weak use cases, we are still missing a strong one, it seems.
Yeah, I was wondering if we should prototype this in SM at some point. Glancing at it though, it would require a lot of reworking and auditing of our validation/instantiation code. So it definitely needs a good motivation. That being said, if the relaxation is just a couple specific sections, that could keep the total permutations low enough to be easy.
Also, should it be legal to use an imported global? Imports occur before tables and thus add to the global index space, so it seems to me like this should be legal.
@titzer, that is legal, but it seems we were missing a test for that. PTAL at WebAssembly/function-references#106
Fix #433.