builtins: Move return pointer to first position for fromUtf8C

This commit is contained in:
Brian Carroll 2022-07-04 11:02:19 +01:00
parent a342f02824
commit 60d29c2e25
No known key found for this signature in database
GPG key ID: 9CF4E3BF9C4722C7
3 changed files with 12 additions and 21 deletions

View file

@ -194,9 +194,9 @@ pub fn str_from_utf8<'a, 'ctx, 'env>(
call_void_bitcode_fn(
env,
&[
result_ptr.into(),
list_symbol_to_c_abi(env, scope, list).into(),
pass_update_mode(env, update_mode),
result_ptr.into(),
],
bitcode::STR_FROM_UTF8,
);