feat: SCC analysis (WIP)
This commit is contained in:
@@ -139,10 +139,10 @@ impl<'ctx> JITContext<'ctx> {
|
||||
}
|
||||
|
||||
pub fn compile(&self, ir: Ir) -> JITFunc {
|
||||
|
||||
todo!()
|
||||
}
|
||||
|
||||
pub fn get_tag(&self, val: BasicValueEnum<'ctx>) -> IntValue<'ctx> {
|
||||
pub fn get_tag(&self, val: StructValue<'ctx>) -> IntValue<'ctx> {
|
||||
let alloca = self
|
||||
.builder
|
||||
.build_alloca(self.helpers.value_type, "get_tag_alloca").unwrap();
|
||||
|
||||
Reference in New Issue
Block a user