mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
Pass in pointers into Str split in place bitcode function, not actual strs
This commit is contained in:
parent
9bedb818cb
commit
481bca3b44
1 changed files with 2 additions and 2 deletions
|
@ -67,9 +67,9 @@ pub fn str_split<'a, 'ctx, 'env>(
|
|||
&[
|
||||
ret_list,
|
||||
segment_count,
|
||||
str_,
|
||||
BasicValueEnum::PointerValue(*str_ptr),
|
||||
BasicValueEnum::IntValue(str_len),
|
||||
delimiter,
|
||||
BasicValueEnum::PointerValue(*delimiter_ptr),
|
||||
BasicValueEnum::IntValue(delimiter_len),
|
||||
],
|
||||
&bitcode::STR_STR_SPLIT_IN_PLACE,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue