diff options
author | Philip Herron <philip.herron@embecosm.com> | 2021-12-14 11:56:12 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2021-12-15 22:37:10 +0000 |
commit | 40aae6224b1bab4825b11a1d16ea73ba52a04d6b (patch) | |
tree | 90cb8844a08a7a11d59c353fe2422b3d8456b21d /gcc/rust/backend/rust-compile-base.h | |
parent | 310968874db1902084012cf767ad0b6e93f028c2 (diff) | |
download | gcc-40aae6224b1bab4825b11a1d16ea73ba52a04d6b.zip gcc-40aae6224b1bab4825b11a1d16ea73ba52a04d6b.tar.gz gcc-40aae6224b1bab4825b11a1d16ea73ba52a04d6b.tar.bz2 |
Refactor TyTy::ResolveCompile pass to be in its own file
This name likely needs 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.
Diffstat (limited to 'gcc/rust/backend/rust-compile-base.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-base.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-compile-base.h b/gcc/rust/backend/rust-compile-base.h index af0ea40..ed6bba4 100644 --- a/gcc/rust/backend/rust-compile-base.h +++ b/gcc/rust/backend/rust-compile-base.h @@ -18,6 +18,7 @@ #define RUST_COMPILE_BASE #include "rust-compile-context.h" +#include "rust-compile-type.h" #include "rust-hir-visitor.h" #include "rust-hir-full.h" |