From 9eced6cf7d155e944234706995ee3950dcfbb2b0 Mon Sep 17 00:00:00 2001 From: bjorn3 <17426603+bjorn3@users.noreply.github.com> Date: Tue, 3 Jun 2025 10:00:56 +0000 Subject: [PATCH] Remove type_test from IntrinsicCallBuilderMethods It is only used within cg_llvm. --- src/intrinsic/mod.rs | 5 ----- 1 file changed, 5 deletions(-) diff --git a/src/intrinsic/mod.rs b/src/intrinsic/mod.rs index 73be25ba92b7..9e05b8f23aad 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,