start of ir

This commit is contained in:
2024-10-17 23:40:09 -04:00
parent e33420e91f
commit b15a40c4d9
19 changed files with 268 additions and 81 deletions

View File

@@ -59,13 +59,13 @@ impl Deref for WritableSymbol {
}
}
pub struct SymMap<I: Instr> {
pub struct SymMap<I> {
i: usize,
ro_data: Vec<(Vec<u8>, Symbol)>,
functions: Vec<(Vec<I>, Symbol)>,
}
impl<I: Instr> SymMap<I> {
impl<I> SymMap<I> {
pub fn new() -> Self {
Self {
i: 0,