aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-base.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/backend/rust-compile-base.h')
-rw-r--r--gcc/rust/backend/rust-compile-base.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-compile-base.h b/gcc/rust/backend/rust-compile-base.h
index 41907ec..6529123 100644
--- a/gcc/rust/backend/rust-compile-base.h
+++ b/gcc/rust/backend/rust-compile-base.h
@@ -29,6 +29,8 @@ class HIRCompileBase
public:
virtual ~HIRCompileBase () {}
+ static tree address_expression (tree expr, location_t locus);
+
protected:
HIRCompileBase (Context *ctx) : ctx (ctx) {}
@@ -139,8 +141,6 @@ protected:
static void setup_abi_options (tree fndecl, ABI abi);
- static tree address_expression (tree expr, location_t locus);
-
static tree indirect_expression (tree expr, location_t locus);
static bool mark_addressable (tree, location_t);