}

impl Display for BlockRef {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { write!(f, "{}", self.block) }
}

pub struct Block {
    label: String,
    idx:   u64,

    instructions: RefCell<Vec<Instruction>>,

    func: FunctionWeakRef,
}
