rustc: Remove some debug code

This commit is contained in:
Patrick Walton 2011-09-30 14:26:06 -07:00
parent 7ab0897ac6
commit c065280a0b

View file

@ -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); let ret_ty = ty::ty_fn_ret(bcx_tcx(bcx), fn_ty);
check type_has_static_size(ccx, ret_ty); check type_has_static_size(ccx, ret_ty);
let llretty = type_of(ccx, f.span, 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; let llretval;
if lib::llvm::llvm::LLVMGetTypeKind(llretty) as int == 11 { // pointer if lib::llvm::llvm::LLVMGetTypeKind(llretty) as int == 11 { // pointer