about summary refs log tree commit diff
path: root/compiler/stable_mir/src/fold.rs
AgeCommit message (Collapse)AuthorLines
2023-10-24Remove fold code and add Const::internal()Celina G. Val-245/+0
We are not planning to support user generated constant in the foreseeable future, so we are removing the Fold logic for now in favor of the Instance::resolve logic. The Instance::resolve was however incomplete, since we weren't handling internalizing constants yet. Thus, I added that. I decided to keep the Const fields private in case we decide to translate them lazily.
2023-10-20s/Generator/Coroutine/Oli Scherer-1/+1
2023-09-29Rollup merge of #116024 - ouz-a:smir_region, r=oli-obkMatthias Krüger-5/+20
Implement Region for smir Adds Region and it's relevant types to smir and covers them with stable implementation r? `@oli-obk`
2023-09-28visit and fold ty::refouz-a-1/+4
2023-09-28simplify foldouz-a-34/+3
2023-09-28change visit to fold for ty and regouz-a-5/+5
2023-09-28add real folder to Regionouz-a-2/+39
2023-09-28make reg public and add visit, foldouz-a-1/+7
2023-09-28don't clone copy typesMatthias Krüger-2/+2
2023-09-25Split out the stable part of smir into its own crate to prevent accidental ↵Oli Scherer-0/+230
usage of forever unstable things