Skip to content

Commit 4991d08

Browse files
committed
Remove incorrect check in lib_call
1 parent 90a7ee6 commit 4991d08

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/abi/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -119,9 +119,7 @@ impl<'tcx> FunctionCx<'_, '_, 'tcx> {
119119
returns: Vec<AbiParam>,
120120
args: &[Value],
121121
) -> Cow<'_, [Value]> {
122-
if self.tcx.sess.target.is_like_windows
123-
&& params.iter().any(|param| param.value_type == types::I128)
124-
{
122+
if self.tcx.sess.target.is_like_windows {
125123
let (mut params, mut args): (Vec<_>, Vec<_>) =
126124
params
127125
.into_iter()

0 commit comments

Comments
 (0)