public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] Merge #918
@ 2022-06-08 12:05 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-06-08 12:05 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9023bb8687347559702340c24cd72301f0656a59

commit 9023bb8687347559702340c24cd72301f0656a59
Merge: e2823b6747b 4242d45d3d6
Author: bors[bot] <26634292+bors[bot]@users.noreply.github.com>
Date:   Fri Feb 11 10:29:35 2022 +0000

    Merge #918
    
    918: Refactor code to reuse a canonical way to compile items r=philberty a=philberty
    
    This is a big cleanup so all paths that compile functions and constants
    end up in the same path so we avoid any duplication in how we actually
    compile a function or constant.
    
    
    Co-authored-by: Philip Herron <philip.herron@embecosm.com>

Diff:

 gcc/rust/Make-lang.in                         |   2 +
 gcc/rust/backend/rust-compile-base.cc         | 298 +++++++++++++++
 gcc/rust/backend/rust-compile-base.h          |  31 +-
 gcc/rust/backend/rust-compile-expr.cc         |  15 +-
 gcc/rust/backend/rust-compile-expr.h          |   8 +-
 gcc/rust/backend/rust-compile-extern.h        |   6 -
 gcc/rust/backend/rust-compile-implitem.cc     | 102 +++++
 gcc/rust/backend/rust-compile-implitem.h      | 511 +-------------------------
 gcc/rust/backend/rust-compile-intrinsic.cc    |   2 +-
 gcc/rust/backend/rust-compile-item.cc         | 202 ++++++++++
 gcc/rust/backend/rust-compile-item.h          | 370 +------------------
 gcc/rust/backend/rust-compile-resolve-path.cc |  24 +-
 gcc/rust/backend/rust-compile-resolve-path.h  |   2 +-
 gcc/rust/backend/rust-compile-stmt.h          |  28 --
 gcc/rust/backend/rust-compile-var-decl.h      |   3 +-
 gcc/rust/backend/rust-compile.cc              | 100 +----
 gcc/rust/hir/tree/rust-hir-item.h             |  16 +-
 gcc/rust/rust-backend.h                       |  54 ---
 gcc/rust/rust-gcc.cc                          | 197 +++-------
 gcc/rust/rust-session-manager.cc              |  31 +-
 gcc/rust/rust-target.h                        |   9 +-
 gcc/rust/typecheck/rust-tycheck-dump.h        |   3 +
 22 files changed, 768 insertions(+), 1246 deletions(-)


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-06-08 12:05 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-06-08 12:05 [gcc/devel/rust/master] Merge #918 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).