Remove incorrect check in lib_call
This commit is contained in:
parent
90a7ee6c70
commit
4991d08bc6
1 changed files with 1 additions and 3 deletions
|
@ -119,9 +119,7 @@ impl<'tcx> FunctionCx<'_, '_, 'tcx> {
|
||||||
returns: Vec<AbiParam>,
|
returns: Vec<AbiParam>,
|
||||||
args: &[Value],
|
args: &[Value],
|
||||||
) -> Cow<'_, [Value]> {
|
) -> Cow<'_, [Value]> {
|
||||||
if self.tcx.sess.target.is_like_windows
|
if self.tcx.sess.target.is_like_windows {
|
||||||
&& params.iter().any(|param| param.value_type == types::I128)
|
|
||||||
{
|
|
||||||
let (mut params, mut args): (Vec<_>, Vec<_>) =
|
let (mut params, mut args): (Vec<_>, Vec<_>) =
|
||||||
params
|
params
|
||||||
.into_iter()
|
.into_iter()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue