Fix call to str split; Move some comments around

This commit is contained in:
Jared Ramirez 2020-12-04 14:16:07 -07:00
parent 7e9cf27d94
commit 5697ec209b
2 changed files with 37 additions and 44 deletions

View file

@ -49,12 +49,7 @@ pub fn str_split<'a, 'ctx, 'env>(
call_void_bitcode_fn(
env,
&[
ret_list_ptr_zig_rocstr,
BasicValueEnum::IntValue(segment_count),
str_i128.into(),
delim_i128.into(),
],
&[ret_list_ptr_zig_rocstr, str_i128.into(), delim_i128.into()],
&bitcode::STR_STR_SPLIT_IN_PLACE,
);