mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-26 21:39:07 +00:00
update rust code to llvm-16 and fix build
also update: - llvm frame address - erased function type - dec passing to zig - gen dev storage size
This commit is contained in:
parent
2e2e609547
commit
398bf2f96c
20 changed files with 1830 additions and 1432 deletions
|
@ -1303,7 +1303,7 @@ impl<
|
|||
layout: InLayout<'_>,
|
||||
) -> i32 {
|
||||
let (size, alignment) = layout_interner.stack_size_and_alignment(layout);
|
||||
self.claim_stack_area_with_alignment(sym, size, Ord::min(alignment, 8))
|
||||
self.claim_stack_area_with_alignment(sym, size, Ord::max(alignment, 8))
|
||||
}
|
||||
|
||||
/// Claim space on the stack of a certain size and alignment.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue