aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
authorPhilip Herron <philip.herron@embecosm.com>2022-02-10 16:07:28 +0000
committerPhilip Herron <philip.herron@embecosm.com>2022-02-10 16:07:28 +0000
commit1b487d72cd2ba46671f5a1bcc20970f2dad1b759 (patch)
treea1c1a61fd3031416ca3bc600212cd13e51f727b8 /gcc/rust/rust-backend.h
parente49dd22fc233f3b7b7dcca4bd1ba2e7ea6dea71c (diff)
downloadgcc-1b487d72cd2ba46671f5a1bcc20970f2dad1b759.zip
gcc-1b487d72cd2ba46671f5a1bcc20970f2dad1b759.tar.gz
gcc-1b487d72cd2ba46671f5a1bcc20970f2dad1b759.tar.bz2
Remove tree addressable flags from back-end local and fnparm decl creation
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r--gcc/rust/rust-backend.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index ca41575..f7a1ac6 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -458,15 +458,14 @@ public:
// the frontend will call init_statement to set the initial value.
virtual Bvariable *local_variable (tree function, const std::string &name,
tree type, Bvariable *decl_var,
- bool is_address_taken, Location location)
+ Location location)
= 0;
// Create a function parameter. This is an incoming parameter, not
// a result parameter (result parameters are treated as local
// variables). The arguments are as for local_variable.
virtual Bvariable *parameter_variable (tree function, const std::string &name,
- tree type, bool is_address_taken,
- Location location)
+ tree type, Location location)
= 0;
// Create a static chain parameter. This is the closure parameter.