Skip to content

Commit

Permalink
rustc: Convert two printlns in trans into debug!
Browse files Browse the repository at this point in the history
  • Loading branch information
brson committed Oct 22, 2012
1 parent 5fc4e51 commit 5a86f5d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/rustc/middle/trans/meth.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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 =
Expand Down
2 changes: 1 addition & 1 deletion src/rustc/middle/trans/monomorphize.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 5a86f5d

Please sign in to comment.