aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-resolve-path.cc
diff options
context:
space:
mode:
authorYizhe <yizhe@pku.edu.cn>2021-02-17 07:31:05 +0000
committerPhilip Herron <herron.philip@googlemail.com>2021-02-19 10:34:59 +0000
commit496f773bdaa0be769c3d0e05b3598efa86dcefe1 (patch)
tree1938f737d11215ea960d793e02e16d7988eb7ac0 /gcc/rust/backend/rust-compile-resolve-path.cc
parent3f2906e5e4fccc2bc6d848a43be7e569036641e6 (diff)
downloadgcc-496f773bdaa0be769c3d0e05b3598efa86dcefe1.zip
gcc-496f773bdaa0be769c3d0e05b3598efa86dcefe1.tar.gz
gcc-496f773bdaa0be769c3d0e05b3598efa86dcefe1.tar.bz2
Added `equals` method to `BaseType`
The resulting code looks quite similar to `unify`, except that it doesn't save refs, so it should be more efficient. However the introduced complexity is a bit worrying. This commit also adjusted some const qualifiers of `BaseType` methods where necessary.
Diffstat (limited to 'gcc/rust/backend/rust-compile-resolve-path.cc')
0 files changed, 0 insertions, 0 deletions