Use RBLK in simple_add_call_res_op.
@@ -10059,6 +10059,8 @@ static int simple_add_call_res_op (MIR_context_t ctx, struct type *ret_type, voi
temp = get_new_temp (ctx, MIR_T_I64);
emit3 (ctx, MIR_ADD, temp.mir_op, MIR_new_reg_op (ctx, MIR_reg (ctx, FP_NAME, curr_func->u.func)),
MIR_new_int_op (ctx, call_arg_area_offset));
+ temp.mir_op
+ = MIR_new_mem_op (ctx, MIR_T_RBLK, type_size (c2m_ctx, ret_type), temp.mir_op.u.reg, 0, 1);
VARR_PUSH (MIR_op_t, call_ops, temp.mir_op);
return 0;
}
