Skip reinterning if nothing changed

This commit is contained in:
Oli Scherer 2023-09-27 11:23:39 +00:00
parent 17d7821a2a
commit 809cd20618

View File

@ -674,14 +674,6 @@ fn transmute_scalar<'tcx>(
} }
} }
pub(crate) fn place_opaque_cast(
self,
fx: &mut FunctionCx<'_, '_, 'tcx>,
ty: Ty<'tcx>,
) -> CPlace<'tcx> {
CPlace { inner: self.inner, layout: fx.layout_of(ty) }
}
pub(crate) fn place_field( pub(crate) fn place_field(
self, self,
fx: &mut FunctionCx<'_, '_, 'tcx>, fx: &mut FunctionCx<'_, '_, 'tcx>,