getting closer

This commit is contained in:
2025-05-04 14:21:27 -04:00
parent 6583d47ef8
commit 9368d6dcd0
16 changed files with 423 additions and 327 deletions

View File

@@ -1,10 +1,10 @@
use crate::{compiler::arch::riscv::*, ir::VarInst};
use crate::{compiler::arch::riscv::*, ir::UIdent};
pub type RV64Instruction = LinkerInstruction<RegRef, VarInst>;
pub type RV64Instruction = LinkerInstruction<RegRef, UIdent>;
#[derive(Copy, Clone)]
pub enum RegRef {
Var(VarInst),
Var(UIdent),
Reg(Reg),
}