Skip to content

Commit 037a1de

Browse files
committed
apply calling convention at call site too
1 parent 834b687 commit 037a1de

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/comp/middle/trans.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -5420,7 +5420,7 @@ fn trans_native_mod(lcx: @local_ctxt, native_mod: ast::native_mod) {
54205420
}
54215421

54225422
// Create the call itself:
5423-
let llretval = Call(bcx, llbasefn, llargvals);
5423+
let llretval = CallWithConv(bcx, llbasefn, llargvals, cc);
54245424
//log_err("llretval", val_str(ccx.tn, llretval),
54255425
// "llargbundle", val_str(ccx.tn, llargbundle),
54265426
// "tys.ret_ty", ty_str(ccx.tn, tys.ret_ty),

0 commit comments

Comments
 (0)