You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The new wat parser is based on the IRBuilder utility, which maintains all the state necessary to turn a linear sequence of instructions and delimiters into Binaryen IR. The binary reader has its own similar functionality, so we could reduce duplication and improve the quality of the parsed IR if we had it use IRBuilder instead.
Using IRBuilder in both the text and binary parsers will also let us implement new IR building functionality just once in the future. For example, we could support lowering multivalue block input (#6407) to scratch locals just once in IRBuilder rather than having to do it separately for the text and binary parsers.
The text was updated successfully, but these errors were encountered:
The new wat parser is based on the
IRBuilder
utility, which maintains all the state necessary to turn a linear sequence of instructions and delimiters into Binaryen IR. The binary reader has its own similar functionality, so we could reduce duplication and improve the quality of the parsed IR if we had it useIRBuilder
instead.Using IRBuilder in both the text and binary parsers will also let us implement new IR building functionality just once in the future. For example, we could support lowering multivalue block input (#6407) to scratch locals just once in IRBuilder rather than having to do it separately for the text and binary parsers.
The text was updated successfully, but these errors were encountered: