Function emit_pointer_release

Source
pub(crate) fn emit_pointer_release(
    body: &mut InstrSeqBuilder<'_>,
    runtime: &RuntimeFunctions,
    memory_id: MemoryId,
    pointer_local: LocalId,
    pointee_ty: &Ty,
    structs: &[MirStructDecl],
    enums: &[MirEnumDecl],
    pointer_drop_functions: &BTreeMap<String, FunctionId>,
    scratch_ptr_local: LocalId,
    scratch_count_local: LocalId,
    scratch_size_local: LocalId,
    scratch_value_local: LocalId,
    scratch_i64_local: LocalId,
) -> Result<(), LowerError>