Skip to content

Commit 883eb38

Browse files
committed
rustc: Remove some debugging code from decl_native_fn_and_pair()
1 parent 81cda5a commit 883eb38

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

src/comp/middle/trans.rs

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6812,12 +6812,6 @@ fn decl_native_fn_and_pair(@crate_ctxt ccx,
68126812
lib.llvm.LLVMCCallConv,
68136813
llnativefnty);
68146814

6815-
log_err "calling: " + val_str(bcx.fcx.lcx.ccx.tn, llnativefn);
6816-
6817-
for (ValueRef arg in call_args) {
6818-
log_err "arg: " + val_str(bcx.fcx.lcx.ccx.tn, arg);
6819-
}
6820-
68216815
auto r = bcx.build.Call(llnativefn, call_args);
68226816
auto rptr = bcx.fcx.llretptr;
68236817
ret tup(r, rptr);

0 commit comments

Comments
 (0)