aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/rust-backend.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/rust-backend.h')
-rw-r--r--gcc/rust/rust-backend.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index 210eff3..02c12ee 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -254,6 +254,8 @@ public:
// Create a nil pointer expression.
virtual Bexpression *nil_pointer_expression () = 0;
+ virtual Bexpression *unit_expression () = 0;
+
// Create a reference to a variable.
virtual Bexpression *var_expression (Bvariable *var, Location) = 0;