Add env.small_str_bytes

This commit is contained in:
Richard Feldman 2020-09-12 23:05:01 -04:00
parent 8322006e36
commit 254b93a8ce
2 changed files with 5 additions and 1 deletions

View file

@ -401,7 +401,7 @@ where
byte_array_ptr,
&[ctx
.i8_type()
.const_int(((env.ptr_bytes * 2) - 1) as u64, false)],
.const_int(env.small_str_bytes() as u64 - 1, false)],
"final_byte_ptr",
)
};