about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-05-24 07:13:26 +0000
committerbors <bors@rust-lang.org>2022-05-24 07:13:26 +0000
commit286b717808d81ee5f2cc60b04d3e9a1d1e146719 (patch)
tree89887c672f4250820e5019bde71570a96b56eeab /src/test/codegen/src-hash-algorithm
parent1f3116f806ecdc26ec7fd887005f1a91f353565f (diff)
parent0684d62b564c2e88bd812fccf00d35bcd2554cb6 (diff)
downloadrust-286b717808d81ee5f2cc60b04d3e9a1d1e146719.tar.gz
rust-286b717808d81ee5f2cc60b04d3e9a1d1e146719.zip
Auto merge of #96098 - JakobDegen:always-return-place, r=oli-obk
Refactor call terminator to always include destination place

In #71117 people seemed to agree that call terminators should always have a destination place, even if the call was guaranteed to diverge. This implements that. Unsurprisingly, the diff touches a lot of code, but thankfully I had to do almost nothing interesting. The only interesting thing came up in const prop, where the stack frame having no return place was also used to indicate that the layout could not be computed (or similar). I replaced this with a ZST allocation, which should continue to do the right things.

cc `@RalfJung` `@eddyb` who were involved in the original conversation

r? rust-lang/mir-opt
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions