diff options
| author | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-09-27 11:23:39 +0000 |
|---|---|---|
| committer | Oli Scherer <git-spam-no-reply9815368754983@oli-obk.de> | 2023-09-28 16:13:38 +0000 |
| commit | 2d4201f7c65b223967bb12aed2a790f85e457969 (patch) | |
| tree | 9b25bd9b6f9129ed74415eaf69559bac174a9ba3 /compiler/rustc_codegen_cranelift | |
| parent | 6ea2db7c2d78182fabf66a8c6ffc856446e1cf81 (diff) | |
| download | rust-2d4201f7c65b223967bb12aed2a790f85e457969.tar.gz rust-2d4201f7c65b223967bb12aed2a790f85e457969.zip | |
Skip reinterning if nothing changed
Diffstat (limited to 'compiler/rustc_codegen_cranelift')
| -rw-r--r-- | compiler/rustc_codegen_cranelift/src/value_and_place.rs | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/compiler/rustc_codegen_cranelift/src/value_and_place.rs b/compiler/rustc_codegen_cranelift/src/value_and_place.rs index ff95141ce90..d4273c0b593 100644 --- a/compiler/rustc_codegen_cranelift/src/value_and_place.rs +++ b/compiler/rustc_codegen_cranelift/src/value_and_place.rs @@ -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>, |
