public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #832 #833
@ 2022-06-08 11:56 Thomas Schwinge
0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 11:56 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:3629645386ad503606f29f95c2e16d0600df6e20
commit 3629645386ad503606f29f95c2e16d0600df6e20
Merge: de9bb867970 40aae6224b1 91a5d085cb5
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date: Wed Dec 15 23:02:03 2021 +0000
Merge #832 #833
832: Refactor TyTy::ResolveCompile pass to be in its own file r=philberty a=philberty
This name likely needs to be refactored, this class is used to take TyTy types
and compile them down to GCC tree's but take into account that we may have
already compiled this type before so to preserve the canonical types we
"resolve" the type if possible and then compile.
833: Refactor CallExpr and MethodCallExpr into rust-compile-expr.cc r=philberty a=philberty
Our compile times are very bad for the front-end code and this is part
of the drive to pull more implementation code out of headers and into
code files such that we can have smaller headers and many code files
to reduce recompilation of the same code.
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diff:
gcc/rust/Make-lang.in | 1 +
gcc/rust/backend/rust-compile-base.h | 1 +
gcc/rust/backend/rust-compile-context.h | 344 -----------------------------
gcc/rust/backend/rust-compile-expr.cc | 262 ++++++++++++++++++++++
gcc/rust/backend/rust-compile-type.cc | 371 ++++++++++++++++++++++++++++++++
gcc/rust/backend/rust-compile-type.h | 79 +++++++
gcc/rust/backend/rust-compile.cc | 264 -----------------------
7 files changed, 714 insertions(+), 608 deletions(-)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-06-08 11:56 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 11:56 [gcc/devel/rust/master] Merge #832 #833 Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).