diff options
author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2022-05-26 18:50:14 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-26 18:50:14 +0000 |
commit | 7a94948e65db2fef6fd93c94e70ead168b71513d (patch) | |
tree | 9d408e4971321f0e1bd887efda2ccf1f1c8553bf /gcc/rust/resolve | |
parent | a4455d8f522cad015f3540f118f8c6ce2775fccb (diff) | |
parent | 1a04c501e41ec0dee74d520a7ca4373cb7df7a48 (diff) | |
download | gcc-7a94948e65db2fef6fd93c94e70ead168b71513d.zip gcc-7a94948e65db2fef6fd93c94e70ead168b71513d.tar.gz gcc-7a94948e65db2fef6fd93c94e70ead168b71513d.tar.bz2 |
Merge #1283
1283: const folding in gccrs: remove ConstCtx class. r=philberty a=abbasfaisal
Card: [Link](https://github.com/Rust-GCC/gccrs/projects/16#card-82300522)
This class had potential to hinder porting further const folding code from C++. This edit makes it easy to copy code from constexpr.cc to rust-constexpr.cc and so on.
Structs `constexpr_ctx` and `constexpr_global_ctx` have been copied as well as to keep `constexpr_ops_count` after removing the class. These structs will be filled further as the port carries on. The prototypes inside ConstCtx have been copied over to rust-constexpr.cc as static prototypes.
Co-authored-by: Faisal Abbas <90.abbasfaisal@gmail.com>
Diffstat (limited to 'gcc/rust/resolve')
0 files changed, 0 insertions, 0 deletions