mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-04 20:54:13 +00:00
rustc: Convert two printlns in trans into debug!
This commit is contained in:
parent
5fc4e51ab7
commit
5a86f5d084
@ -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 =
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user