aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/backend/rust-compile-expr.cc
diff options
context:
space:
mode:
authorDavid Faust <david.faust@oracle.com>2021-11-15 10:12:20 -0800
committerDavid Faust <david.faust@oracle.com>2021-11-16 13:15:54 -0800
commita4e5aee5863c7d898ee640296bc837e0baa8e796 (patch)
treef40c90287ae41fa3689cdc38d4bb021fb6cc8394 /gcc/rust/backend/rust-compile-expr.cc
parent95048daaffa5e16df4d663702fe80294eac7b85e (diff)
downloadgcc-a4e5aee5863c7d898ee640296bc837e0baa8e796.zip
gcc-a4e5aee5863c7d898ee640296bc837e0baa8e796.tar.gz
gcc-a4e5aee5863c7d898ee640296bc837e0baa8e796.tar.bz2
Replace Bblock with GCC tree
Diffstat (limited to 'gcc/rust/backend/rust-compile-expr.cc')
-rw-r--r--gcc/rust/backend/rust-compile-expr.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-expr.cc b/gcc/rust/backend/rust-compile-expr.cc
index 8b1da22..fb01d8d 100644
--- a/gcc/rust/backend/rust-compile-expr.cc
+++ b/gcc/rust/backend/rust-compile-expr.cc
@@ -176,7 +176,7 @@ CompileExpr::compile_dyn_dispatch_call (const TyTy::DynamicObjectType *dyn,
fn_vtable_access, expr_locus);
fncontext fnctx = ctx->peek_fn ();
- Bblock *enclosing_scope = ctx->peek_enclosing_scope ();
+ tree enclosing_scope = ctx->peek_enclosing_scope ();
bool is_address_taken = false;
tree ret_var_stmt = NULL_TREE;
Bvariable *fn_convert_expr_tmp