diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-08-25 14:35:59 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 14:35:59 +0000 |
commit | 1416b85322cd9cd74c7a79e3270bb334ceb3a44c (patch) | |
tree | e6d175fcec2b7f252b82a163460768deb7db2f03 /gcc/rust/backend/rust-constexpr.h | |
parent | 5b3c4be73fb72cb87d9a135415ed421a0808ff3b (diff) | |
parent | 43b7dd91fb0df9cdb7708581089bd3cd36f14a43 (diff) | |
download | gcc-1416b85322cd9cd74c7a79e3270bb334ceb3a44c.zip gcc-1416b85322cd9cd74c7a79e3270bb334ceb3a44c.tar.gz gcc-1416b85322cd9cd74c7a79e3270bb334ceb3a44c.tar.bz2 |
Merge #1499
1499: Constant folding in gccrs: port over rest of the code from CP frontend r=philberty a=abbasfaisal
Co-authored-by: Faisal Abbas <90.abbasfaisal@gmail.com>
Co-authored-by: Philip Herron <philip.herron@embecosm.com>
Diffstat (limited to 'gcc/rust/backend/rust-constexpr.h')
-rw-r--r-- | gcc/rust/backend/rust-constexpr.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gcc/rust/backend/rust-constexpr.h b/gcc/rust/backend/rust-constexpr.h index 3cfcec8..77a0797 100644 --- a/gcc/rust/backend/rust-constexpr.h +++ b/gcc/rust/backend/rust-constexpr.h @@ -24,6 +24,8 @@ namespace Rust { namespace Compile { extern tree fold_expr (tree); +extern void +maybe_save_constexpr_fundef (tree fun); } // namespace Compile } // namespace Rust |