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 00a88b903d
commit 2e8401ae5f
4 changed files with 5 additions and 16 deletions

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,