From c065280a0b0e3b85050151f478c3134b0a3cce23 Mon Sep 17 00:00:00 2001 From: Patrick Walton Date: Fri, 30 Sep 2011 14:26:06 -0700 Subject: [PATCH] rustc: Remove some debug code --- src/comp/middle/trans.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/comp/middle/trans.rs b/src/comp/middle/trans.rs index a22fec2fd60..d40734449c4 100644 --- a/src/comp/middle/trans.rs +++ b/src/comp/middle/trans.rs @@ -4029,8 +4029,6 @@ fn trans_c_stack_native_call(bcx: @block_ctxt, f: @ast::expr, let ret_ty = ty::ty_fn_ret(bcx_tcx(bcx), fn_ty); check type_has_static_size(ccx, ret_ty); let llretty = type_of(ccx, f.span, ret_ty); - log_err "casting " + val_str(ccx.tn, llrawretval) + " to " + - lib::llvm::type_to_str(ccx.tn, llretty); let llretval; if lib::llvm::llvm::LLVMGetTypeKind(llretty) as int == 11 { // pointer