diff options
author | Philip Herron <herron.philip@googlemail.com> | 2023-02-06 17:46:07 +0000 |
---|---|---|
committer | Arthur Cohen <arthur.cohen@embecosm.com> | 2023-04-06 10:47:23 +0200 |
commit | c627781b8f6c2539ea17a9240458e6a53b00f262 (patch) | |
tree | ef3e19f38b80ec8cc05f4eddc19de72802e5c105 /gcc/rust/Make-lang.in | |
parent | fd406fc7046f427385b644759265ae06ed741d6b (diff) | |
download | gcc-c627781b8f6c2539ea17a9240458e6a53b00f262.zip gcc-c627781b8f6c2539ea17a9240458e6a53b00f262.tar.gz gcc-c627781b8f6c2539ea17a9240458e6a53b00f262.tar.bz2 |
gccrs: Extract query_type from TypeCheckBase to be a simple extern
Signed-off-by: Philip Herron <herron.philip@googlemail.com>
gcc/rust/ChangeLog:
* Make-lang.in: add new dependancy
* typecheck/rust-hir-type-check-base.cc (TypeCheckBase::query_type): refactor
* typecheck/rust-hir-type-check-base.h: refactor
* typecheck/rust-hir-type-check.h (RUST_HIR_TYPE_CHECK): refactor
* typecheck/rust-type-util.cc: New file.
* typecheck/rust-type-util.h: New file.
Diffstat (limited to 'gcc/rust/Make-lang.in')
-rw-r--r-- | gcc/rust/Make-lang.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/Make-lang.in b/gcc/rust/Make-lang.in index 09bbe45..06f64a0 100644 --- a/gcc/rust/Make-lang.in +++ b/gcc/rust/Make-lang.in @@ -134,6 +134,7 @@ GRS_OBJS = \ rust/rust-hir-type-check-implitem.o \ rust/rust-hir-dot-operator.o \ rust/rust-hir-path-probe.o \ + rust/rust-type-util.o \ rust/rust-coercion.o \ rust/rust-casts.o \ rust/rust-unify.o \ |