diff options
| author | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-03-03 15:53:47 +1100 |
|---|---|---|
| committer | Nicholas Nethercote <n.nethercote@gmail.com> | 2023-03-03 16:15:23 +1100 |
| commit | 6b9c4125a589fb9a6eb30e5ec9a66734d571ab86 (patch) | |
| tree | 2059c7bb9b270c39a59262eda9f61ee48dc8b5ce /compiler/rustc_codegen_gcc | |
| parent | ca1bc7f1f6487991dd6b504d1fddbc982e6b779c (diff) | |
| download | rust-6b9c4125a589fb9a6eb30e5ec9a66734d571ab86.tar.gz rust-6b9c4125a589fb9a6eb30e5ec9a66734d571ab86.zip | |
Don't call `temporary_scope` twice.
`mirror_expr_inner` calls `temporary_scope`. It then calls `make_mirror_unadjusted` which makes an identical call to `temporary_scope`. This commit changes the `mirror_expr_inner` to get the `temp_lifetime` out of the expression produced by `make_mirror_unadjusted`, similar to how it currently gets the type.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
0 files changed, 0 insertions, 0 deletions
