aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/Make-lang.in
diff options
context:
space:
mode:
authorJakub Dupak <dev@jakubdupak.com>2023-10-18 20:43:17 +0200
committerArthur Cohen <arthur.cohen@embecosm.com>2024-01-16 19:09:27 +0100
commitf88934b5c85c6ce9fcd14dedbd33b4ca3d541a2e (patch)
treef1da1ab90b78948ee01296e36b6e97bc2a6d92c2 /gcc/rust/Make-lang.in
parentdbd29204ef8cb9bd0b5767196cd72a9cacece831 (diff)
downloadgcc-f88934b5c85c6ce9fcd14dedbd33b4ca3d541a2e.zip
gcc-f88934b5c85c6ce9fcd14dedbd33b4ca3d541a2e.tar.gz
gcc-f88934b5c85c6ce9fcd14dedbd33b4ca3d541a2e.tar.bz2
gccrs: borrowck: Create BIR builders (visitors)
gcc/rust/ChangeLog: * Make-lang.in: Compile BIR expr visitor. * checks/errors/borrowck/rust-borrow-checker.cc (BorrowChecker::go): Use BIR builder. * rust-session-manager.cc (Session::compile_crate): Run borrow checker. * checks/errors/borrowck/rust-bir-builder-expr-stmt.cc: New file. * checks/errors/borrowck/rust-bir-builder-expr-stmt.h: New file. * checks/errors/borrowck/rust-bir-builder-internal.h: New file. * checks/errors/borrowck/rust-bir-builder-lazyboolexpr.h: New file. * checks/errors/borrowck/rust-bir-builder-pattern.h: New file. * checks/errors/borrowck/rust-bir-builder-struct.h: New file. * checks/errors/borrowck/rust-bir-builder.h: New file. Signed-off-by: Jakub Dupak <dev@jakubdupak.com>
Diffstat (limited to 'gcc/rust/Make-lang.in')
-rw-r--r--gcc/rust/Make-lang.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in
index 5be223e..d99d25c 100644
--- a/gcc/rust/Make-lang.in
+++ b/gcc/rust/Make-lang.in
@@ -149,6 +149,7 @@ GRS_OBJS = \
rust/rust-hir-type-check-enumitem.o \
rust/rust-hir-type-check-implitem.o \
rust/rust-borrow-checker.o \
+ rust/rust-bir-builder-expr-stmt.o \
rust/rust-hir-dot-operator.o \
rust/rust-hir-path-probe.o \
rust/rust-type-util.o \