From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1643) id 395873AA88A7; Wed, 8 Jun 2022 11:56:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 395873AA88A7 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Thomas Schwinge To: gcc-cvs@gcc.gnu.org Subject: [gcc/devel/rust/master] Merge #832 #833 X-Act-Checkin: gcc X-Git-Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com> X-Git-Refname: refs/heads/devel/rust/master X-Git-Oldrev: de9bb867970b755eca6ff612daae801f120ee928 X-Git-Newrev: 3629645386ad503606f29f95c2e16d0600df6e20 Message-Id: <20220608115629.395873AA88A7@sourceware.org> Date: Wed, 8 Jun 2022 11:56:29 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2022 11:56:29 -0000 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 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(-)