]> git.ipfire.org Git - thirdparty/gcc.git/commit
gccrs: get rid of virtual dispatch for substitution proxys
authorPhilip Herron <herron.philip@googlemail.com>
Sat, 11 Mar 2023 12:55:30 +0000 (12:55 +0000)
committerArthur Cohen <arthur.cohen@embecosm.com>
Tue, 16 Jan 2024 17:21:11 +0000 (18:21 +0100)
commit2bfd2350ec73b5ce99720db1d9b682d130424c3a
tree21bdaa7bf2645871711545637376ee0372c600cf
parent7ec57f2e7c79a5a99bef7613e6c9b957711a887e
gccrs: get rid of virtual dispatch for substitution proxys

gcc/rust/ChangeLog:

* typecheck/rust-tyty.cc (BaseType::has_subsititions_defined): new implementation
(BaseType::needs_generic_substitutions): likewise
(ProjectionType::needs_generic_substitutions): remove
(ProjectionType::has_subsititions_defined): remove
* typecheck/rust-tyty.h: update header

Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/typecheck/rust-tyty.cc
gcc/rust/typecheck/rust-tyty.h