diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-18 15:10:23 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-18 15:10:23 +0000 |
| commit | c49f6080629e4e0b788a8b58225e1ba35a3dbf1e (patch) | |
| tree | 9ceff7097eed5d810e1a32ee643dc11ddb9e776a /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff | |
| parent | b64079d6313446bbb40cf6c467c1e2d068f8f682 (diff) | |
| download | rust-c49f6080629e4e0b788a8b58225e1ba35a3dbf1e.tar.gz rust-c49f6080629e4e0b788a8b58225e1ba35a3dbf1e.zip | |
Several refactorings to constant.rs
* Move the done hash set from ConstantCx to define_all_allocs. * Move check if alloc has already been defined to the start of the loop. * Extract helper function for vtables.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions
