feat: SCC analysis (thunk capture WIP)

This commit is contained in:
2025-06-17 11:53:54 +08:00
parent b2d2490327
commit 7f6848c9e5
19 changed files with 501 additions and 458 deletions

View File

@@ -184,7 +184,7 @@ impl<'ctx> Helpers<'ctx> {
self.value_type
.const_named_struct(&[
self.int_type.const_int(ValueTag::Int as _, false).into(),
self.const_int(int).into()
self.const_int(int).into(),
])
.into()
}
@@ -197,7 +197,7 @@ impl<'ctx> Helpers<'ctx> {
self.value_type
.const_named_struct(&[
self.int_type.const_int(ValueTag::Float as _, false).into(),
self.const_float(float).into()
self.const_float(float).into(),
])
.into()
}