WebAssembly / stack-switching

A repository for the stack switching proposal.
Other
146 stars 13 forks source link

Parsing stack switching instructions in unfolded form. #100

Open dhil opened 20 hours ago

dhil commented 20 hours ago

This patch fixes problems with parsing the stack switching instructions when they appear in unfolded form.

CC @ahuoguo who reported the issue to me.

dhil commented 18 hours ago

Rubberstamp, since I don't know what issue it fixes. :)

Ah apologies. Prior to this patch the stack switching instructions didn't parse correctly in unfolded form. Also, it wasn't possible to parse an unfolded resume in tail position. I have extended cont.wast with two tests covering parsing of the unfolded form.