mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
Fix a bug in LLVM backend refcounting
This commit is contained in:
parent
0a58d6e60e
commit
a9456639c7
1 changed files with 2 additions and 2 deletions
|
@ -442,8 +442,8 @@ fn modify_refcount_builtin<'a, 'ctx, 'env>(
|
||||||
Some(function)
|
Some(function)
|
||||||
}
|
}
|
||||||
Set(element_layout) => {
|
Set(element_layout) => {
|
||||||
let key_layout = &Layout::Struct(&[]);
|
let key_layout = element_layout;
|
||||||
let value_layout = element_layout;
|
let value_layout = &Layout::Struct(&[]);
|
||||||
|
|
||||||
let function = modify_refcount_dict(
|
let function = modify_refcount_dict(
|
||||||
env,
|
env,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue