diff options
author | David Faust <david.faust@oracle.com> | 2021-11-15 11:24:40 -0800 |
---|---|---|
committer | David Faust <david.faust@oracle.com> | 2021-11-16 13:10:41 -0800 |
commit | 553e88f1dd4b4794334ee6d1861c185b92361a0b (patch) | |
tree | 62075b93b07f3dce20b0c0afa1bc8024bb1cac89 /gcc/rust/backend/rust-compile-stmt.h | |
parent | b52a68d2d8676ea378f0fbb6726639cc80402542 (diff) | |
download | gcc-553e88f1dd4b4794334ee6d1861c185b92361a0b.zip gcc-553e88f1dd4b4794334ee6d1861c185b92361a0b.tar.gz gcc-553e88f1dd4b4794334ee6d1861c185b92361a0b.tar.bz2 |
Replace Bstatement with GCC tree
Diffstat (limited to 'gcc/rust/backend/rust-compile-stmt.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-stmt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-stmt.h b/gcc/rust/backend/rust-compile-stmt.h index 604d9a5..f3ee69d 100644 --- a/gcc/rust/backend/rust-compile-stmt.h +++ b/gcc/rust/backend/rust-compile-stmt.h @@ -118,7 +118,7 @@ public: auto fnctx = ctx->peek_fn (); if (ty->is_unit ()) { - Bstatement *expr_stmt + tree expr_stmt = ctx->get_backend ()->expression_statement (fnctx.fndecl, init); ctx->add_statement (expr_stmt); } |