diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-03-13 16:58:59 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2023-03-17 10:34:36 +0000 |
commit | dab27f737e1a2c5c071b7885de2fa73f70fccd63 (patch) | |
tree | 41c2cb5ce029172b3ee3db631755d5535f454731 /gcc | |
parent | 9ace79ff7ec52b15708469a04b28070bfeed5eb3 (diff) | |
download | gcc-dab27f737e1a2c5c071b7885de2fa73f70fccd63.zip gcc-dab27f737e1a2c5c071b7885de2fa73f70fccd63.tar.gz gcc-dab27f737e1a2c5c071b7885de2fa73f70fccd63.tar.bz2 |
gccrs: add extra debug line for method resolve select
gcc/rust/ChangeLog:
* typecheck/rust-hir-dot-operator.cc (MethodResolver::select): add debug
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/rust/typecheck/rust-hir-dot-operator.cc | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/rust/typecheck/rust-hir-dot-operator.cc b/gcc/rust/typecheck/rust-hir-dot-operator.cc index bfba0c3..084ef88 100644 --- a/gcc/rust/typecheck/rust-hir-dot-operator.cc +++ b/gcc/rust/typecheck/rust-hir-dot-operator.cc @@ -66,6 +66,9 @@ MethodResolver::try_hook (const TyTy::BaseType &r) bool MethodResolver::select (TyTy::BaseType &receiver) { + rust_debug ("MethodResolver::select reciever=[%s]", + receiver.debug_str ().c_str ()); + struct impl_item_candidate { HIR::Function *item; |