diff options
| author | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-06-03 10:00:56 +0000 | 
|---|---|---|
| committer | bjorn3 <17426603+bjorn3@users.noreply.github.com> | 2025-06-03 10:00:56 +0000 | 
| commit | 2e8401ae5f293070f57b964252db7b38d3f2fc2a (patch) | |
| tree | efbcef5ccd349ee00d3957a4972ac2a958aab6bc /compiler/rustc_codegen_gcc | |
| parent | 00a88b903d3728517dff8f0044160d18a0322ab4 (diff) | |
| download | rust-2e8401ae5f293070f57b964252db7b38d3f2fc2a.tar.gz rust-2e8401ae5f293070f57b964252db7b38d3f2fc2a.zip | |
Remove type_test from IntrinsicCallBuilderMethods
It is only used within cg_llvm.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
| -rw-r--r-- | compiler/rustc_codegen_gcc/src/intrinsic/mod.rs | 5 | 
1 files changed, 0 insertions, 5 deletions
| diff --git a/compiler/rustc_codegen_gcc/src/intrinsic/mod.rs b/compiler/rustc_codegen_gcc/src/intrinsic/mod.rs index 73be25ba92b..9e05b8f23aa 100644 --- a/compiler/rustc_codegen_gcc/src/intrinsic/mod.rs +++ b/compiler/rustc_codegen_gcc/src/intrinsic/mod.rs @@ -524,11 +524,6 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc cond } - fn type_test(&mut self, _pointer: Self::Value, _typeid: Self::Value) -> Self::Value { - // Unsupported. - self.context.new_rvalue_from_int(self.int_type, 0) - } - fn type_checked_load( &mut self, _llvtable: Self::Value, | 
