mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
Try to fix #4553
This commit is contained in:
@@ -2601,7 +2601,7 @@ general_end:;
|
|||||||
GB_ASSERT(p->decl_block != p->curr_block);
|
GB_ASSERT(p->decl_block != p->curr_block);
|
||||||
|
|
||||||
i64 max_align = gb_max(lb_alignof(src_type), lb_alignof(dst_type));
|
i64 max_align = gb_max(lb_alignof(src_type), lb_alignof(dst_type));
|
||||||
max_align = gb_max(max_align, 4);
|
max_align = gb_max(max_align, 16);
|
||||||
|
|
||||||
LLVMValueRef ptr = llvm_alloca(p, dst_type, max_align);
|
LLVMValueRef ptr = llvm_alloca(p, dst_type, max_align);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user