about summary refs log tree commit diff
path: root/tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
diff options
context:
space:
mode:
authorShotaro Yamada <sinkuu@sinkuu.xyz>2018-12-10 15:59:21 +0900
committerShotaro Yamada <sinkuu@sinkuu.xyz>2018-12-10 15:59:21 +0900
commite7d18084fb8e6646489be545d20d050623d8d45d (patch)
tree50414cc1bc3c925f384f794aac922c4088ae974e /tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff
parentfd9f5df36ca934405183ee8e7ba96b46b1f645f2 (diff)
downloadrust-e7d18084fb8e6646489be545d20d050623d8d45d.tar.gz
rust-e7d18084fb8e6646489be545d20d050623d8d45d.zip
Only check the assignment found at last
If there are more than one such assignment, the last one may be
the one supplied to `clone` method.
Makes `find_stmt_assigns_to` internally reverses the iterator to make
the intent to "iterate statements backward" clear.
Diffstat (limited to 'tests/mir-opt/lower_array_len.array_len_raw.NormalizeArrayLen.diff')
0 files changed, 0 insertions, 0 deletions