aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorPhilip Herron <herron.philip@googlemail.com>2023-05-23 14:35:17 +0100
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 18:37:21 +0100
commit636e9b41035b55a138065398490ad9007b10fe06 (patch)
treee851b9945146ae925a1648cc985bece7a5748f65 /gcc/rust/Make-lang.in
parentb8934ebd88b50c6aae304eede565f94cb860a3c2 (diff)
downloadgcc-636e9b41035b55a138065398490ad9007b10fe06.zip
gcc-636e9b41035b55a138065398490ad9007b10fe06.tar.gz
gcc-636e9b41035b55a138065398490ad9007b10fe06.tar.bz2
gccrs: refactor resolve_method_address to be more generic
We can reuse the DefId to lookup the mappings to Items or Trait Items instead of the HirId this is more generic and can then be reused for the deref operator overload during autoderef cycles. Addresses #2190 gcc/rust/ChangeLog: * backend/rust-compile-base.cc (HIRCompileBase::resolve_method_address): refactor * backend/rust-compile-base.h: likewise * backend/rust-compile-expr.cc (CompileExpr::visit): likewise * backend/rust-compile-resolve-path.cc (HIRCompileBase::query_compile): likewise Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
0 files changed, 0 insertions, 0 deletions