actually compiles and does stuff now

This commit is contained in:
2024-12-06 19:44:33 -05:00
parent 31c197e991
commit 620c4557e9
67 changed files with 1931 additions and 1287 deletions

13
src/ir/asm.rs Normal file
View File

@@ -0,0 +1,13 @@
use super::VarID;
#[derive(Clone)]
pub struct IRAsmInstruction {
op: String,
args: Vec<RegRef>,
}
#[derive(Clone)]
pub enum RegRef {
Var(VarID),
Reg(String),
}