MDN / WebAssembly control flow instructions
MDN / WebAssembly control flow instructions
WebAssembly control flow instructions.
: Creates a label that can later be branched out of with a
br.
: Branches to a
loop,block, orif.
: Branches to a
loop,block, orif, based on a boolean condition.
: Branches to different
loop,block, orifstatements, based on an argument.
: Calls a function.
: Pops a value from the stack, and discards it.
: Can be used to end a
block,loop,if, orelse.
: Executes a statement if the last item on the stack is true (non-zero).
: Creates a label that can later be branched to with a
br.
: Does nothing.
: Returns from a function.
: Selects one of its first two operands based on a boolean condition.
: Denotes a point in code that should not be reachable.