[gcc/devel/rust/master] Merge #1477
Thomas Schwinge
tschwinge@gcc.gnu.org
Fri Aug 19 09:32:30 GMT 2022
https://gcc.gnu.org/g:5391805604332dc11d3b63bf2e4501b59f478524
commit 5391805604332dc11d3b63bf2e4501b59f478524
Merge: 36f52d2a906 73e79179486
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Wed Aug 17 14:34:14 2022 +0000
Merge #1477
1477: Refactor backend to use finegrained visitors r=philberty a=philberty
This also moves more code out of the headers to their associated impl files
to improve compilation times and code navigation.
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diff:
gcc/rust/Make-lang.in | 3 +
gcc/rust/backend/rust-compile-base.cc | 3 +-
gcc/rust/backend/rust-compile-block.cc | 158 +++++
gcc/rust/backend/rust-compile-block.h | 71 +-
gcc/rust/backend/rust-compile-expr.cc | 746 +++++++++++++++++++-
gcc/rust/backend/rust-compile-expr.h | 769 +--------------------
gcc/rust/backend/rust-compile-fnparam.cc | 59 ++
gcc/rust/backend/rust-compile-fnparam.h | 57 +-
gcc/rust/backend/rust-compile-item.h | 2 +-
gcc/rust/backend/rust-compile-pattern.cc | 3 +-
gcc/rust/backend/rust-compile-resolve-path.cc | 1 +
gcc/rust/backend/rust-compile-stmt.cc | 115 +++
gcc/rust/backend/rust-compile-stmt.h | 88 +--
gcc/rust/backend/rust-compile-struct-field-expr.cc | 81 +++
gcc/rust/backend/rust-compile-struct-field-expr.h | 75 +-
gcc/rust/backend/rust-compile-type.h | 2 +-
gcc/rust/backend/rust-compile.cc | 161 +----
17 files changed, 1222 insertions(+), 1172 deletions(-)
More information about the Gcc-cvs
mailing list