Define control flow instructions.

Rename 'br' to 'jump'. We'll use jump/br to mean unconditional/conditional
control transfer respectively.
This commit is contained in:
Jakob Stoklund Olesen
2016-05-18 16:28:21 -07:00
parent d85fda0346
commit ebe224a912
10 changed files with 244 additions and 79 deletions

View File

@@ -21,3 +21,6 @@ signature = EntityRefKind('signature', 'A function signature.')
#: A reference to an external function declared in the function preamble.
#: This is used to provide the callee and signature in a call instruction.
function = EntityRefKind('function', 'An external function.')
#: A reference to a jump table declared in the function preamble.
jump_table = EntityRefKind('jump_table', 'A jump table.')