diff options
author | Bad Diode <bd@badd10de.dev> | 2022-04-25 11:59:22 -0300 |
---|---|---|
committer | Bad Diode <bd@badd10de.dev> | 2022-04-25 11:59:22 -0300 |
commit | ada3f3a2eac5b3828c3a55970d5640fef922d3d0 (patch) | |
tree | 6e1ce0a6cb41b21f3fd58eade27d3f219cb05c46 /src/ir.h | |
parent | 38fd557a61e7366140b6fbdacfebc3ad28f55369 (diff) | |
download | bdl-ada3f3a2eac5b3828c3a55970d5640fef922d3d0.tar.gz bdl-ada3f3a2eac5b3828c3a55970d5640fef922d3d0.zip |
Add BASM generation for `if` expressions
Diffstat (limited to 'src/ir.h')
-rw-r--r-- | src/ir.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -36,6 +36,8 @@ typedef enum Operator { | |||
36 | // (Un)conditional jump operations. | 36 | // (Un)conditional jump operations. |
37 | OP_LABEL, | 37 | OP_LABEL, |
38 | OP_JMP, | 38 | OP_JMP, |
39 | OP_JMP_TRUE, | ||
40 | OP_JMP_FALSE, | ||
39 | OP_JMP_EQ, | 41 | OP_JMP_EQ, |
40 | OP_JMP_NEQ, | 42 | OP_JMP_NEQ, |
41 | OP_JMP_GT, | 43 | OP_JMP_GT, |