Skip to content

Commit

Permalink
Skip reinterning if nothing changed
Browse files Browse the repository at this point in the history
  • Loading branch information
oli-obk committed Sep 28, 2023
1 parent 17d7821 commit 809cd20
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/value_and_place.rs
Original file line number Diff line number Diff line change
Expand Up @@ -674,14 +674,6 @@ impl<'tcx> CPlace<'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(
self,
fx: &mut FunctionCx<'_, '_, 'tcx>,
Expand Down

0 comments on commit 809cd20

Please sign in to comment.