diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-03-30 13:32:05 +0000 |
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2024-06-21 19:26:07 +0000 |
| commit | 98e8601ac3426c395c017f110e2ff8b05733a163 (patch) | |
| tree | 65a41bfad033b74c073515339752d8bda117873a /compiler/rustc_codegen_llvm/src/common.rs | |
| parent | 7f445329ec3330f4334431b68b26325922391e5c (diff) | |
| download | rust-98e8601ac3426c395c017f110e2ff8b05733a163.tar.gz rust-98e8601ac3426c395c017f110e2ff8b05733a163.zip | |
Remove const_bitcast from ConstMethods
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/common.rs | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/compiler/rustc_codegen_llvm/src/common.rs b/compiler/rustc_codegen_llvm/src/common.rs index 4ffc92eb633..d42c6ed827a 100644 --- a/compiler/rustc_codegen_llvm/src/common.rs +++ b/compiler/rustc_codegen_llvm/src/common.rs @@ -329,10 +329,6 @@ impl<'ll, 'tcx> ConstMethods<'tcx> for CodegenCx<'ll, 'tcx> { const_alloc_to_llvm(self, alloc, /*static*/ false) } - fn const_bitcast(&self, val: &'ll Value, ty: &'ll Type) -> &'ll Value { - self.const_bitcast(val, ty) - } - fn const_ptr_byte_offset(&self, base_addr: Self::Value, offset: abi::Size) -> Self::Value { unsafe { llvm::LLVMConstInBoundsGEP2( |
