mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-28 14:24:45 +00:00
free or reuse unconditionally when value is unique
This commit is contained in:
parent
e3ab023f62
commit
fc3004da58
21 changed files with 381 additions and 69 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