Skip to content

Commit 9eced6c

Browse files
committed
Remove type_test from IntrinsicCallBuilderMethods
It is only used within cg_llvm.
1 parent 6c982df commit 9eced6c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/intrinsic/mod.rs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -524,11 +524,6 @@ impl<'a, 'gcc, 'tcx> IntrinsicCallBuilderMethods<'tcx> for Builder<'a, 'gcc, 'tc
524524
cond
525525
}
526526

527-
fn type_test(&mut self, _pointer: Self::Value, _typeid: Self::Value) -> Self::Value {
528-
// Unsupported.
529-
self.context.new_rvalue_from_int(self.int_type, 0)
530-
}
531-
532527
fn type_checked_load(
533528
&mut self,
534529
_llvtable: Self::Value,

0 commit comments

Comments
 (0)