make specific twice_ptr_width helper

This commit is contained in:
Folkert 2022-03-12 19:57:26 +01:00
parent 9d9e7d10d4
commit 4e22ae57cd
No known key found for this signature in database
GPG key ID: 1F17F6FFD112B97C
2 changed files with 9 additions and 4 deletions

View file

@ -359,7 +359,7 @@ pub fn str_from_utf8_range<'a, 'ctx, 'env>(
complex_bitcast(
env.builder,
count_and_start.into(),
env.str_list_c_abi().into(),
env.twice_ptr_int().into(),
"to_i128",
),
result_ptr.into(),