Fix quicksort benchmark

This commit is contained in:
Richard Feldman 2020-08-09 23:40:55 -04:00
parent 1c828f7811
commit 35e132e6d7
4 changed files with 90 additions and 16 deletions

View file

@ -1365,10 +1365,10 @@ pub fn build_proc_header<'a, 'ctx, 'env>(
}
let fn_type = get_fn_type(&ret_type, &arg_basic_types);
let fn_name = layout_ids
.get(symbol, layout)
.to_symbol_string(symbol, &env.interns);
let fn_val = env
.module
.add_function(fn_name.as_str(), fn_type, Some(Linkage::Private));