mirror of
https://github.com/roc-lang/roc.git
synced 2025-10-03 00:24:34 +00:00
working version
This commit is contained in:
parent
26edc70bca
commit
e78fa99030
3 changed files with 14 additions and 13 deletions
|
@ -1147,8 +1147,7 @@ pub fn list_sort_with<'a, 'ctx, 'env>(
|
|||
|
||||
let list_i128 = complex_bitcast(env.builder, list, env.context.i128_type().into(), "to_i128");
|
||||
|
||||
let transform_ptr = builder.build_alloca(transform.get_type(), "transform_ptr");
|
||||
env.builder.build_store(transform_ptr, transform);
|
||||
let transform_ptr = transform.into_pointer_value();
|
||||
|
||||
let compare_wrapper = build_compare_wrapper(env, layout_ids, element_layout)
|
||||
.as_global_value()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue