aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-block.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/rust/backend/rust-compile-block.cc')
-rw-r--r--gcc/rust/backend/rust-compile-block.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-block.cc b/gcc/rust/backend/rust-compile-block.cc
index b36a15f..eb8af2a 100644
--- a/gcc/rust/backend/rust-compile-block.cc
+++ b/gcc/rust/backend/rust-compile-block.cc
@@ -75,7 +75,7 @@ CompileBlock::visit (HIR::BlockExpr &expr)
else if (result != nullptr)
{
location_t locus = expr.get_locus ();
- tree compiled_expr = unit_expression (ctx, expr.get_locus ());
+ tree compiled_expr = unit_expression (expr.get_locus ());
tree result_reference = Backend::var_expression (result, locus);
tree assignment