Skip to content

Commit

Permalink
[BoS] Rename instructions (WebAssembly#51)
Browse files Browse the repository at this point in the history
`switch.call` becomes `stack.new_switch` because it is the composition of
`stack.new` (not yet documented) and `switch`.

Similarly, `switch.return` becomes `switch_retire` because it performs a switch
and retires the previous active stack. We use "retire" instead of "return"
because "return" is not really an accurate description of what is happening.
  • Loading branch information
tlively authored May 13, 2024
1 parent 9bb27c0 commit 67efcdb
Showing 1 changed file with 39 additions and 40 deletions.
Loading

0 comments on commit 67efcdb

Please sign in to comment.