mirror of
https://github.com/rust-lang/rust
synced 2024-09-05 16:57:03 +00:00
rustc: Remove some debugging code from decl_native_fn_and_pair()
This commit is contained in:
parent
81cda5ad45
commit
883eb38b28
|
@ -6812,12 +6812,6 @@ fn trans_simple_native_abi(@block_ctxt bcx,
|
|||
lib.llvm.LLVMCCallConv,
|
||||
llnativefnty);
|
||||
|
||||
log_err "calling: " + val_str(bcx.fcx.lcx.ccx.tn, llnativefn);
|
||||
|
||||
for (ValueRef arg in call_args) {
|
||||
log_err "arg: " + val_str(bcx.fcx.lcx.ccx.tn, arg);
|
||||
}
|
||||
|
||||
auto r = bcx.build.Call(llnativefn, call_args);
|
||||
auto rptr = bcx.fcx.llretptr;
|
||||
ret tup(r, rptr);
|
||||
|
|
Loading…
Reference in a new issue