aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2025-08-01 21:49:29 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2025-08-05 16:37:02 +0200
commit90070a8f4572d760f3e9fac4b1f7da815909fa59 (patch)
tree6922e0a26ace2003ea84a8d08afacc2967ff9958
parent4d9a4c08a6056cb4d03f7d6250799ec52101090a (diff)
downloadgcc-90070a8f4572d760f3e9fac4b1f7da815909fa59.zip
gcc-90070a8f4572d760f3e9fac4b1f7da815909fa59.tar.gz
gcc-90070a8f4572d760f3e9fac4b1f7da815909fa59.tar.bz2
gccrs: remove old debug
gcc/rust/ChangeLog: * typecheck/rust-tyty-subst.cc (SubstitutionRef::infer_substitions): remove debug Signed-off-by: Philip Herron <herron.philip@googlemail.com>
-rw-r--r--gcc/rust/typecheck/rust-tyty-subst.cc7
1 files changed, 0 insertions, 7 deletions
diff --git a/gcc/rust/typecheck/rust-tyty-subst.cc b/gcc/rust/typecheck/rust-tyty-subst.cc
index ead162a..817910b 100644
--- a/gcc/rust/typecheck/rust-tyty-subst.cc
+++ b/gcc/rust/typecheck/rust-tyty-subst.cc
@@ -883,10 +883,6 @@ SubstitutionRef::infer_substitions (location_t locus)
std::map<std::string, BaseType *> argument_mappings;
for (auto &p : get_substs ())
{
- rust_debug_loc (locus, "XXXXXXXXXXXXXXXXXXXXXX 1: [%s]",
- p.need_substitution () ? "true" : "false");
- p.get_param_ty ()->debug ();
-
if (p.needs_substitution ())
{
const HIR::GenericParam &generic = p.get_generic_param ();
@@ -894,9 +890,6 @@ SubstitutionRef::infer_substitions (location_t locus)
auto it = argument_mappings.find (symbol);
bool have_mapping = it != argument_mappings.end ();
- rust_debug_loc (locus, "XXXXXXXXXXXXXXX 2: [%s] [%s]",
- have_mapping ? "true" : "false", symbol.c_str ());
-
if (have_mapping)
{
args.push_back (SubstitutionArg (&p, it->second));