diff options
| -rw-r--r-- | src/value_and_place.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/value_and_place.rs b/src/value_and_place.rs index cc4493d442f..320eecaee00 100644 --- a/src/value_and_place.rs +++ b/src/value_and_place.rs @@ -588,7 +588,7 @@ impl<'tcx> CPlace<'tcx> { return; } CPlaceInner::VarPair(_local, var1, var2) => { - let (data1, data2) = if self.layout().ty == dst_layout.ty { + let (data1, data2) = if from.layout().ty == dst_layout.ty { CValue(from.0, dst_layout).load_scalar_pair(fx) } else { let (ptr, meta) = from.force_stack(fx); |
