hachem.wtf
aboutsummaryrefslogtreecommitdiff
path: root/src/ast.h
diff options
context:
space:
mode:
authorhachem <im@hachem.wtf>2026-10-12 11:41:05 +0200
committerhachem <im@hachem.wtf>2026-10-12 11:41:05 +0200
commit62636576bce8e8121a3d70f63547fae40a52f697 (patch)
tree077dfe4f04235cce63b7abb1b05bb539232ae74a /src/ast.h
parentc0f000ea166a24781fcdbf23c080b203cd9b8ed7 (diff)
chore: refactor
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;