about summary refs log tree commit diff
path: root/compiler/rustc_passes/src/debugger_visualizer.rs
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
commit43d9f3859e0204e764161ee085a360274b5f3e9a (patch)
tree6a5414551c1708eab20d1d3001eccd927e0a6223 /compiler/rustc_passes/src/debugger_visualizer.rs
parentacb5c16fa8acf7fd3b48fc218881f006577bab1a (diff)
parent09b0936db2bb3be67451c6f8948e90987e764f81 (diff)
downloadrust-43d9f3859e0204e764161ee085a360274b5f3e9a.tar.gz
rust-43d9f3859e0204e764161ee085a360274b5f3e9a.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 'compiler/rustc_passes/src/debugger_visualizer.rs')
0 files changed, 0 insertions, 0 deletions