Skip to content

Commit

Permalink
rustc: Convert some error logs to debug
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Mar 31, 2012
1 parent a4906b8 commit 0904f25
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/rustc/middle/trans/base.rs
Expand Up @@ -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;
}
Expand Down

0 comments on commit 0904f25

Please sign in to comment.