Remove type_test from IntrinsicCallBuilderMethods

It is only used within cg_llvm.
This commit is contained in:
bjorn3 2025-06-03 10:00:56 +00:00
parent 6c982df82d
commit 9eced6cf7d

View file

@ -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,