mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
fix wrong alignment used to (re)allocate a list
This commit is contained in:
parent
5d6523f994
commit
edefbe5b6b
3 changed files with 21 additions and 2 deletions
|
@ -2975,7 +2975,7 @@ impl<
|
|||
let list_b_layout = arg_layouts[1];
|
||||
|
||||
// Load list alignment argument (u32).
|
||||
self.load_layout_alignment(*ret_layout, Symbol::DEV_TMP);
|
||||
self.load_layout_alignment(elem_layout, Symbol::DEV_TMP);
|
||||
|
||||
// Load element_width argument (usize).
|
||||
self.load_layout_stack_size(elem_layout, Symbol::DEV_TMP2);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue