about summary refs log tree commit diff
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
commit9eced6cf7d155e944234706995ee3950dcfbb2b0 (patch)
treeb7bdf88c5f1d007e14eeee80a4ac6bd61ce0506f
parent6c982df82dbe9061e420d0fecd5202ec431b4d3c (diff)
downloadrust-9eced6cf7d155e944234706995ee3950dcfbb2b0.tar.gz
rust-9eced6cf7d155e944234706995ee3950dcfbb2b0.zip
Remove type_test from IntrinsicCallBuilderMethods
It is only used within cg_llvm.
-rw-r--r--src/intrinsic/mod.rs5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/intrinsic/mod.rs b/src/intrinsic/mod.rs
index 73be25ba92b..9e05b8f23aa 100644
--- a/src/intrinsic/mod.rs
+++ b/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,