rustc: Convert some error logs to debug

This commit is contained in:
Brian Anderson
2012-03-30 17:31:40 -07:00
parent a4906b81f7
commit 0904f25507

View File

@@ -2763,12 +2763,12 @@ fn invoke(bcx: block, llfn: ValueRef, llargs: [ValueRef]) -> block {
let _icx = bcx.insn_ctxt("invoke_");
if bcx.unreachable { ret bcx; }
if need_invoke(bcx) {
log(error, "invoking");
log(debug, "invoking");
let normal_bcx = sub_block(bcx, "normal return");
Invoke(bcx, llfn, llargs, normal_bcx.llbb, get_landing_pad(bcx));
ret normal_bcx;
} else {
log(error, "calling");
log(debug, "calling");
Call(bcx, llfn, llargs);
ret bcx;
}