about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorJonas Schievink <jonasschievink@gmail.com>2020-11-10 14:45:17 +0100
committerGitHub <noreply@github.com>2020-11-10 14:45:17 +0100
commit9c486882e5dafac9676328e7515475e106031821 (patch)
tree5889a4ee6317445f1fb2c94364aa7e7e9185603a /src/test/codegen/src-hash-algorithm
parent3a2cbe6b830c28709076a5ce632fbfd447c5fe31 (diff)
parent89c3582d599a8ed26b429329ca6e8976d82f0efc (diff)
downloadrust-9c486882e5dafac9676328e7515475e106031821.tar.gz
rust-9c486882e5dafac9676328e7515475e106031821.zip
Rollup merge of #78847 - tmiasko:inline-return-place, r=matthewjasper
Assert that a return place is not used for indexing during integration

The inliner integrates call destination place with callee return place
by remapping the local and adding extra projections as necessary.

If a call destination place contains any projections (which is already
possible) and a return place is used in an indexing projection (most
likely doesn't happen yet) the end result would be incorrect.

Add an assertion to ensure that potential issue won't go unnoticed in
the presence of more sophisticated copy propagation scheme.
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions