diff options
author | Philip Herron <philip.herron@embecosm.com> | 2022-02-10 15:40:23 +0000 |
---|---|---|
committer | Philip Herron <philip.herron@embecosm.com> | 2022-02-10 15:40:55 +0000 |
commit | 859732e4d167dfe83b29cebc757f21ba2c342f33 (patch) | |
tree | 2616a6c1fdc52ae274b836a055e710f19bc59ffb /gcc/rust/rust-backend.h | |
parent | f6ba472caf42db1f5f2f98b73afccf448b36c322 (diff) | |
download | gcc-859732e4d167dfe83b29cebc757f21ba2c342f33.zip gcc-859732e4d167dfe83b29cebc757f21ba2c342f33.tar.gz gcc-859732e4d167dfe83b29cebc757f21ba2c342f33.tar.bz2 |
Remove AddressTakenContext
We can reuse more C front-end code c_mark_addressable can be used instead
of trying to track TREE_ADDRESSABLE as part of type-checking. This also
pulls the GCC::Backend::address_expression to be part of the HIRCompileBase
class during code-generation.
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r-- | gcc/rust/rust-backend.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h index 2a7691c..7d28892 100644 --- a/gcc/rust/rust-backend.h +++ b/gcc/rust/rust-backend.h @@ -255,9 +255,6 @@ public: // get the address of the code for a function. virtual tree function_code_expression (tree, Location) = 0; - // Create an expression that takes the address of an expression. - virtual tree address_expression (tree, Location) = 0; - // Return an expression for the field at INDEX in BSTRUCT. virtual tree struct_field_expression (tree bstruct, size_t index, Location) = 0; |