mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-01 15:51:12 +00:00
step 1: Deriv works and has no valgrind problems
This commit is contained in:
parent
baec1c2de3
commit
71c11784a0
6 changed files with 34 additions and 21 deletions
|
@ -865,6 +865,9 @@ fn modify_refcount_str_help<'a, 'ctx, 'env>(
|
|||
|
||||
let parent = fn_val;
|
||||
|
||||
let arg_val = env
|
||||
.builder
|
||||
.build_load(arg_val.into_pointer_value(), "load_str_to_stack");
|
||||
let str_wrapper = arg_val.into_struct_value();
|
||||
|
||||
let capacity = builder
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue