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)...try 2, commit was missing
This commit is contained in:
parent
3093e79269
commit
f91a9d716d
1 changed files with 4 additions and 4 deletions
|
@ -837,7 +837,7 @@ fn partial_forward_merge_right_head_2(
|
|||
right_head.* += element_width;
|
||||
}
|
||||
if (@intFromPtr(right_head.*) < @intFromPtr(right_tail.*) - element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_right_head_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy });
|
||||
return partial_forward_merge_right_head_2(dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -848,7 +848,7 @@ fn partial_forward_merge_right_head_2(
|
|||
left_head.* += element_width;
|
||||
}
|
||||
if (@intFromPtr(left_head.*) < @intFromPtr(left_tail.*) - element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_left_head_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy });
|
||||
return partial_forward_merge_left_head_2(dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -873,7 +873,7 @@ fn partial_forward_merge_left_head_2(
|
|||
left_head.* += element_width;
|
||||
}
|
||||
if (@intFromPtr(left_head.*) < @intFromPtr(left_tail.*) - element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_left_head_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy });
|
||||
return partial_forward_merge_left_head_2(dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
@ -884,7 +884,7 @@ fn partial_forward_merge_left_head_2(
|
|||
right_head.* += element_width;
|
||||
}
|
||||
if (@intFromPtr(right_head.*) < @intFromPtr(right_tail.*) - element_width) {
|
||||
return @call(.always_tail, partial_forward_merge_right_head_2, .{ dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy });
|
||||
return partial_forward_merge_right_head_2(dest, left_head, left_tail, right_head, right_tail, cmp, cmp_data, element_width, copy);
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue