diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-08-12 18:23:06 +0100 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2024-01-16 19:00:30 +0100 |
commit | 4459962a83ff5c5b6f3d9f76cb8b6c7a71d300c0 (patch) | |
tree | 76644ef867edb454dd083bd7882ce28c5b8ad8dd /gcc/gimple-loop-interchange.cc | |
parent | aef47d79660c81dedaa3655437e7c6653d00f358 (diff) | |
download | gcc-4459962a83ff5c5b6f3d9f76cb8b6c7a71d300c0.zip gcc-4459962a83ff5c5b6f3d9f76cb8b6c7a71d300c0.tar.gz gcc-4459962a83ff5c5b6f3d9f76cb8b6c7a71d300c0.tar.bz2 |
gccrs: simplify matching possible candidates
We do extra checking after the fact here to ensure its a valid candidate
and in the case there is only one candidate lets just go for it.
Addresses #1895
gcc/rust/ChangeLog:
* backend/rust-compile-base.cc (HIRCompileBase::resolve_method_address):
use the single candidate
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
Diffstat (limited to 'gcc/gimple-loop-interchange.cc')
0 files changed, 0 insertions, 0 deletions