This commit is contained in:
Jannis Christopher Köhl 2022-09-27 17:30:50 +02:00
parent 97a69a7670
commit c56e99cdba

View File

@ -174,7 +174,7 @@ pub trait ValueAnalysis<'tcx> {
ValueOrPlace::Value(self.handle_constant(constant, state)) ValueOrPlace::Value(self.handle_constant(constant, state))
} }
Operand::Copy(place) | Operand::Move(place) => { Operand::Copy(place) | Operand::Move(place) => {
// Do want want to handle moves different? Could flood place with bottom. // Do we want to handle moves differently? Could flood place with bottom.
self.map() self.map()
.find(place.as_ref()) .find(place.as_ref())
.map(ValueOrPlace::Place) .map(ValueOrPlace::Place)