Skip to content

Commit c525b05

Browse files
committed
gccrs: remove old debug
gcc/rust/ChangeLog: * typecheck/rust-tyty-subst.cc (SubstitutionRef::infer_substitions): remove debug Signed-off-by: Philip Herron <[email protected]>
1 parent 31909ed commit c525b05

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

gcc/rust/typecheck/rust-tyty-subst.cc

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -883,20 +883,13 @@ SubstitutionRef::infer_substitions (location_t locus)
883883
std::map<std::string, BaseType *> argument_mappings;
884884
for (auto &p : get_substs ())
885885
{
886-
rust_debug_loc (locus, "XXXXXXXXXXXXXXXXXXXXXX 1: [%s]",
887-
p.need_substitution () ? "true" : "false");
888-
p.get_param_ty ()->debug ();
889-
890886
if (p.needs_substitution ())
891887
{
892888
const HIR::GenericParam &generic = p.get_generic_param ();
893889
const std::string &symbol = p.get_param_ty ()->get_symbol ();
894890
auto it = argument_mappings.find (symbol);
895891
bool have_mapping = it != argument_mappings.end ();
896892

897-
rust_debug_loc (locus, "XXXXXXXXXXXXXXX 2: [%s] [%s]",
898-
have_mapping ? "true" : "false", symbol.c_str ());
899-
900893
if (have_mapping)
901894
{
902895
args.push_back (SubstitutionArg (&p, it->second));

0 commit comments

Comments
 (0)