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-item.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-item.h')
-rw-r--r-- | gcc/rust/backend/rust-compile-item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/rust/backend/rust-compile-item.h b/gcc/rust/backend/rust-compile-item.h index 95de611..0e7737c 100644 --- a/gcc/rust/backend/rust-compile-item.h +++ b/gcc/rust/backend/rust-compile-item.h @@ -277,7 +277,7 @@ public: tree return_type = TyTyResolveCompile::compile (ctx, tyret); bool address_is_taken = false; - Bstatement *ret_var_stmt = nullptr; + tree ret_var_stmt = NULL_TREE; return_address = ctx->get_backend ()->temporary_variable ( fndecl, code_block, return_type, NULL, address_is_taken, |