mirror of
https://github.com/roc-lang/roc.git
synced 2024-09-20 23:37:56 +03:00
fix pushing to alloca
This commit is contained in:
parent
70eef9141f
commit
3dd16d2114
@ -840,7 +840,7 @@ fn modify_refcount_str_help<'a, 'ctx, 'env>(
|
||||
builder.position_at_end(modification_block);
|
||||
|
||||
let str_alloca = create_entry_block_alloca(env, parent, str_type.into(), "str_alloca");
|
||||
env.builder.build_store(str_alloca, str_wrapper);
|
||||
env.builder.build_store(str_alloca, arg_val);
|
||||
|
||||
let refcount_ptr =
|
||||
PointerToRefcount::from_ptr_to_data(env, str_refcount_ptr(env, str_alloca.into()));
|
||||
|
Loading…
Reference in New Issue
Block a user