aboutsummaryrefslogtreecommitdiffstats
path: root/src/ir.h
diff options
context:
space:
mode:
authorBad Diode <bd@badd10de.dev>2022-04-25 11:59:22 -0300
committerBad Diode <bd@badd10de.dev>2022-04-25 11:59:22 -0300
commitada3f3a2eac5b3828c3a55970d5640fef922d3d0 (patch)
tree6e1ce0a6cb41b21f3fd58eade27d3f219cb05c46 /src/ir.h
parent38fd557a61e7366140b6fbdacfebc3ad28f55369 (diff)
downloadbdl-ada3f3a2eac5b3828c3a55970d5640fef922d3d0.tar.gz
bdl-ada3f3a2eac5b3828c3a55970d5640fef922d3d0.zip
Add BASM generation for `if` expressions
Diffstat (limited to 'src/ir.h')
-rw-r--r--src/ir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ir.h b/src/ir.h
index d5b167e..c0ce22a 100644
--- a/src/ir.h
+++ b/src/ir.h
@@ -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,