diff options
Diffstat (limited to 'gcc/rust/backend/rust-compile-base.cc')
-rw-r--r-- | gcc/rust/backend/rust-compile-base.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/rust/backend/rust-compile-base.cc b/gcc/rust/backend/rust-compile-base.cc index a5643d2..54f7a7d 100644 --- a/gcc/rust/backend/rust-compile-base.cc +++ b/gcc/rust/backend/rust-compile-base.cc @@ -354,7 +354,7 @@ HIRCompileBase::setup_abi_options (tree fndecl, ABI abi) // it is fine to use ARRAY_REFs for vector subscripts on vector // register variables. bool -HIRCompileBase::mark_addressable (tree exp, Location locus) +HIRCompileBase::mark_addressable (tree exp) { tree x = exp; @@ -418,7 +418,7 @@ HIRCompileBase::address_expression (tree expr, Location location) if (expr == error_mark_node) return error_mark_node; - if (!mark_addressable (expr, location)) + if (!mark_addressable (expr)) return error_mark_node; return build_fold_addr_expr_loc (location.gcc_location (), expr); |