diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-10-20 15:53:13 +0100 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-10-22 10:13:05 +0100 |
commit | ff5c2481404953dce7ef7ccfda856ba6a1ee2323 (patch) | |
tree | 4cf9a9d2c6ada17407790ad4824bf909fa38a65b /gcc/rust/rustspec.cc | |
parent | 649e3e074bf8306bf0eb042f10483dbd61cd040b (diff) | |
download | gcc-ff5c2481404953dce7ef7ccfda856ba6a1ee2323.zip gcc-ff5c2481404953dce7ef7ccfda856ba6a1ee2323.tar.gz gcc-ff5c2481404953dce7ef7ccfda856ba6a1ee2323.tar.bz2 |
Constify the Backend resolve compile interface
This is a bad name for this class, but it will compile a TyTy type into a
GCC Backend::Btype* node. The class also tries to determine if we have
already compiled this node for monomorphization and canonicalization of
types which will avoid unnessecary conversion code based on type equality.
This patch simply makes this a const visitor to enforce pointer ownership
rules.
Diffstat (limited to 'gcc/rust/rustspec.cc')
0 files changed, 0 insertions, 0 deletions