make the example loop a couple of times

This commit is contained in:
Folkert 2020-12-13 19:58:23 +01:00
parent f00bd9ba01
commit a67a750fdc
5 changed files with 168 additions and 35 deletions

View file

@ -478,7 +478,6 @@ pub fn build_exp_literal<'a, 'ctx, 'env>(
let ctx = env.context;
let builder = env.builder;
let number_of_chars = str_literal.len() as u64;
let elem_bytes = CHAR_LAYOUT.stack_size(env.ptr_bytes) as u64;
let ptr_bytes = env.ptr_bytes;
let populate_str = |ptr| {