diff options
| author | Stuart Cook <Zalathar@users.noreply.github.com> | 2025-09-17 14:56:47 +1000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-09-17 14:56:47 +1000 |
| commit | 577f18ffe23c2c01d98f557c1a12830eadcb7abe (patch) | |
| tree | 41f87916518e4afa6b0e40305a7d4a5b919f9032 /compiler/rustc_codegen_ssa | |
| parent | c7af12ecc84d10e12978ec94d811d7bf70574f79 (diff) | |
| parent | eddd755f284093b0d3a8ce027f68653d5f5773d1 (diff) | |
| download | rust-577f18ffe23c2c01d98f557c1a12830eadcb7abe.tar.gz rust-577f18ffe23c2c01d98f557c1a12830eadcb7abe.zip | |
Rollup merge of #146552 - cjgillot:resume-noremap, r=jackh726
StateTransform: Do not renumber resume local. MIR parameters are not explicitly assigned-to when entering the MIR body. If we want to save their values inside the coroutine state, we need to do so explicitly. This was done by renaming the `_2` local, and introducing an explicit assignment pre-transform. This particular trick confuses me. This version makes explicit that we are assigning parameters to saved locals. r? ``@dingxiangfei2009``
Diffstat (limited to 'compiler/rustc_codegen_ssa')
0 files changed, 0 insertions, 0 deletions
