rustc: Convert two printlns in trans into debug!

This commit is contained in:
Brian Anderson 2012-10-22 13:33:12 -07:00
parent 5fc4e51ab7
commit 5a86f5d084
2 changed files with 2 additions and 2 deletions

View File

@ -155,7 +155,7 @@ fn trans_method_callee(bcx: block, callee_id: ast::node_id,
// Get the ID of the impl we're inside.
let impl_def_id = bcx.fcx.impl_id.get();
io::println(fmt!("impl_def_id is %?", impl_def_id));
debug!("impl_def_id is %?", impl_def_id);
// Get the ID of the method we're calling.
let method_name =

View File

@ -203,7 +203,7 @@ fn monomorphic_fn(ccx: @crate_ctxt,
ast_map::node_trait_method(@ast::provided(mth), _, pt) => {
let d = mk_lldecl();
set_inline_hint_if_appr(mth.attrs, d);
io::println(fmt!("monomorphic_fn impl_did_opt is %?", impl_did_opt));
debug!("monomorphic_fn impl_did_opt is %?", impl_did_opt);
meth::trans_method(ccx, *pt, mth, psubsts, None, d,
impl_did_opt.get());
d