hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ast.h')
-rw-r--r--src/ast.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/ast.h b/src/ast.h
index 1db8b99..23fe438 100644
--- a/src/ast.h
+++ b/src/ast.h
@@ -177,9 +177,6 @@ struct StackStatement
struct Expr* size;
};
-// a bare instruction: a mnemonic and its operands emitted verbatim, the escape
-// hatch for anything outside the assignment / control-flow model (int, hlt,
-// lgdt, in/out, ...)
struct InstructionStatement
{
struct Token mnemonic;
@@ -188,8 +185,6 @@ struct InstructionStatement
size_t operand_capacity;
};
-// a branchless conditional move: `target = if_value if left cmp right else
-// else_value`. Lowers to csel on AArch64 and cmov on x86.
struct SelectStatement
{
struct Token target;