about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorWarrenren <50134367+Warrenren@users.noreply.github.com>2022-06-10 19:08:03 +0800
committerGitHub <noreply@github.com>2022-06-10 19:08:03 +0800
commit5e9e73cc9f9c3f8230af739ec4d234f4d99842b2 (patch)
tree08ac3c8e91d34d6139ae38e829ce29afe5eb7b86 /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff
parent3dea0033f7f40fc3a96b728cb2095da91135f0a4 (diff)
downloadrust-5e9e73cc9f9c3f8230af739ec4d234f4d99842b2.tar.gz
rust-5e9e73cc9f9c3f8230af739ec4d234f4d99842b2.zip
line 1352, change self to (*self), other to (*other)
The current code will not results bug, but it difficult to understand. These code result to call &f32::partial_cmp(), and the performance will be lower than the changed code. I'm not sure why the current code don't use (*self) (*other), if you have some idea, please let me know.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions