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
{{ message }}
Repository navigation
Commit 6ee2fc4
Browse filesBrowse the repository at this point in the historyBrowse files
wasmStatements had grown to about 470 lines of closures sharing the
stack, the open blocks, Go's SP and the reads of the current row,
which pushExpr picked up from variables the loop and local.tee reset
by hand. The state now lives in stmtWriter, whose methods spell the
blocks, branches, calls and values apart, and goSP follows Go's SP on
its own. The precedences have names, a block opener is recognised by
one function, and wasmBranches reports the blocks that branches go to
instead of a second walk finding them again.
Blocks now take their parameters and leave several values: an else
branch starts from its if's parameters again, a block's values read
L1.0 and L1.1, and a call with several results assigns a temporary
each, "t1, t2 = g()", where it showed "?".
0 commit comments