Skip to content

Commit c065280

Browse files
committed
rustc: Remove some debug code
1 parent 7ab0897 commit c065280

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/comp/middle/trans.rs

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4029,8 +4029,6 @@ fn trans_c_stack_native_call(bcx: @block_ctxt, f: @ast::expr,
40294029
let ret_ty = ty::ty_fn_ret(bcx_tcx(bcx), fn_ty);
40304030
check type_has_static_size(ccx, ret_ty);
40314031
let llretty = type_of(ccx, f.span, ret_ty);
4032-
log_err "casting " + val_str(ccx.tn, llrawretval) + " to " +
4033-
lib::llvm::type_to_str(ccx.tn, llretty);
40344032

40354033
let llretval;
40364034
if lib::llvm::llvm::LLVMGetTypeKind(llretty) as int == 11 { // pointer

0 commit comments

Comments
 (0)