mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
cleanup
This commit is contained in:
parent
36496662d2
commit
27e70b03e0
1 changed files with 0 additions and 8 deletions
|
@ -2671,14 +2671,6 @@ pub fn complex_bitcast_struct_struct<'ctx>(
|
||||||
complex_bitcast(builder, from_value.into(), to_type.into(), name).into_struct_value()
|
complex_bitcast(builder, from_value.into(), to_type.into(), name).into_struct_value()
|
||||||
}
|
}
|
||||||
|
|
||||||
fn cast_tag_to_block_of_memory<'a, 'ctx, 'env>(
|
|
||||||
env: &Env<'a, 'ctx, 'env>,
|
|
||||||
from_value: StructValue<'ctx>,
|
|
||||||
to_type: BasicTypeEnum<'ctx>,
|
|
||||||
) -> BasicValueEnum<'ctx> {
|
|
||||||
complex_bitcast_check_size(env, from_value.into(), to_type, "tag_to_block_of_memory")
|
|
||||||
}
|
|
||||||
|
|
||||||
pub fn cast_block_of_memory_to_tag<'ctx>(
|
pub fn cast_block_of_memory_to_tag<'ctx>(
|
||||||
builder: &Builder<'ctx>,
|
builder: &Builder<'ctx>,
|
||||||
from_value: StructValue<'ctx>,
|
from_value: StructValue<'ctx>,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue