about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
diff options
context:
space:
mode:
authorOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-06-29 14:18:55 +0000
committerOli Scherer <git-spam-no-reply9815368754983@oli-obk.de>2022-06-30 07:47:07 +0000
commit846eecb1a40210b287b92ea1750aedcf478067ae (patch)
treeb3995ece2a6c5a73fab09a693d0005c2a2f0ea5c /tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff
parent92749f04c6a00a3d8e78a2f0ec8dbe31a438396a (diff)
downloadrust-846eecb1a40210b287b92ea1750aedcf478067ae.tar.gz
rust-846eecb1a40210b287b92ea1750aedcf478067ae.zip
Change enum->int casts to not go through MIR casts.
Instead we generate a discriminant rvalue and cast the result of that.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_bound_mut.NormalizeArrayLen.panic-unwind.diff')
0 files changed, 0 insertions, 0 deletions