mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 13:29:12 +00:00
remove always_tail (breaks wasm) and trust llvm to get it right (it does)
This commit is contained in:
parent
d2129aea62
commit
013338f5f0
1 changed files with 4 additions and 4 deletions
|
@ -308,7 +308,7 @@ fn partial_forward_merge_right_tail_2(
|
|||
right_tail.* -= element_width;
|
||||
}
|
||||
if (@intFromPtr(right_tail.*) > @intFromPtr(right_head.*) + element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_right_tail_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy });
|
||||
return partial_forward_merge_right_tail_2(dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -319,7 +319,7 @@ fn partial_forward_merge_right_tail_2(
|
|||
left_tail.* -= element_width;
|
||||
}
|
||||
if (@intFromPtr(left_tail.*) > @intFromPtr(left_head.*) + element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_left_tail_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy });
|
||||
return partial_forward_merge_left_tail_2(dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -344,7 +344,7 @@ fn partial_forward_merge_left_tail_2(
|
|||
left_tail.* -= element_width;
|
||||
}
|
||||
if (@intFromPtr(left_tail.*) > @intFromPtr(left_head.*) + element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_left_tail_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy });
|
||||
return partial_forward_merge_left_tail_2(dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -355,7 +355,7 @@ fn partial_forward_merge_left_tail_2(
|
|||
right_tail.* -= element_width;
|
||||
}
|
||||
if (@intFromPtr(right_tail.*) > @intFromPtr(right_head.*) + element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_right_tail_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy });
|
||||
return partial_forward_merge_right_tail_2(dest, left_head, left_tail, right_head, right_tail, cmp_data, cmp, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue