about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-03 10:00:56 +0000
committerbjorn3 <17426603+bjorn3@users.noreply.github.com>2025-06-03 10:00:56 +0000
commit2e8401ae5f293070f57b964252db7b38d3f2fc2a (patch)
treeefbcef5ccd349ee00d3957a4972ac2a958aab6bc /compiler/rustc_codegen_gcc
parent00a88b903d3728517dff8f0044160d18a0322ab4 (diff)
downloadrust-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.rs5
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,