WebAssembly control flow instructions
WebAssembly control flow instructions.
blockCreates a label that can later be branched out of with a
br.brBranches to a
loop,block, orif.br_ifBranches to a
loop,block, orif, based on a boolean condition.br_tableBranches to different
loop,block, orifstatements, based on an argument.callCalls a function.
dropPops a value from the stack, and discards it.
endCan be used to end a
block,loop,if, orelse.if...elseExecutes a statement if the last item on the stack is true (non-zero).
loopCreates a label that can later be branched to with a
br.nopDoes nothing.
returnReturns from a function.
selectSelects one of its first two operands based on a boolean condition.
unreachableDenotes a point in code that should not be reachable.