| ... | ... | @@ -3837,7 +3837,7 @@ static LLVMValueRef ir_render_call(CodeGen *g, IrExecutable *executable, IrInstr |
| 3837 | 3837 | return result_loc; |
| 3838 | 3838 | } else if (handle_is_ptr(src_return_type)) { |
| 3839 | 3839 | LLVMValueRef store_instr = LLVMBuildStore(g->builder, result, result_loc); |
| 3840 | | LLVMSetAlignment(store_instr, LLVMGetAlignment(result_loc)); |
| 3840 | LLVMSetAlignment(store_instr, get_ptr_align(g, instruction->result_loc->value.type)); |
| 3841 | 3841 | return result_loc; |
| 3842 | 3842 | } else { |
| 3843 | 3843 | return result; |