Skip to content

Commit

Permalink
Move the Implementation of implitem lowering into its own file.
Browse files Browse the repository at this point in the history
This patch moves the implementation of the implitem lowering
from rust-ast-lower-implitem.h into the rust-ast-lower-implitem.cc
file.

gcc/rust/ChangeLog:

	* Make-lang.in: Add rust-ast-lower-implitem.cc to list of objects.
	* hir/rust-ast-lower-implitem.h (RUST_AST_LOWER_IMPLITEM_H): Remove
	implementation.
	* hir/rust-ast-lower-implitem.cc: Copy implementation from header.

Signed-off-by: Nobel Singh <[email protected]>
  • Loading branch information
nobel-sh authored and philberty committed Feb 4, 2024
1 parent a992065 commit 5b7d674
Show file tree
Hide file tree
Showing 3 changed files with 439 additions and 396 deletions.
1 change: 1 addition & 0 deletions gcc/rust/Make-lang.in
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ GRS_OBJS = \
rust/rust-ast-lower-base.o \
rust/rust-ast-lower-pattern.o \
rust/rust-ast-lower-item.o \
rust/rust-ast-lower-implitem.o \
rust/rust-ast-lower-expr.o \
rust/rust-ast-lower-type.o \
rust/rust-ast-lower-stmt.o \
Expand Down
Loading

0 comments on commit 5b7d674

Please sign in to comment.