mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
Merge pull request #5622 from roc-lang/reset-reuse-free
free or reuse unconditionally when value is unique
This commit is contained in:
commit
0ade2a85d2
37 changed files with 583 additions and 295 deletions
|
@ -1325,6 +1325,12 @@ pub(crate) fn run_low_level<'a, 'ctx>(
|
|||
.new_build_load(element_type, ptr.into_pointer_value(), "ptr_load")
|
||||
}
|
||||
|
||||
PtrClearTagId => {
|
||||
arguments!(ptr);
|
||||
|
||||
tag_pointer_clear_tag_id(env, ptr.into_pointer_value()).into()
|
||||
}
|
||||
|
||||
Alloca => {
|
||||
arguments!(initial_value);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue