about summary refs log tree commit diff
diff options
context:
space:
mode:
authorZalathar <Zalathar@users.noreply.github.com>2024-10-25 13:57:46 +1100
committerZalathar <Zalathar@users.noreply.github.com>2024-10-25 14:24:05 +1100
commit7f0ca5a8afeb1f6006027a38563e89dd17f5b34a (patch)
treef917ef627fa8f70397575a271d4905b553a38d28
parent9865a6c6e07ae290a70cdca7c095e3e3a572cd91 (diff)
downloadrust-7f0ca5a8afeb1f6006027a38563e89dd17f5b34a.tar.gz
rust-7f0ca5a8afeb1f6006027a38563e89dd17f5b34a.zip
coverage: SSA doesn't need to know about `instrprof_increment`
-rw-r--r--src/builder.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/builder.rs b/src/builder.rs
index 45738068509..7c52cba096b 100644
--- a/src/builder.rs
+++ b/src/builder.rs
@@ -1725,16 +1725,6 @@ impl<'a, 'gcc, 'tcx> BuilderMethods<'a, 'tcx> for Builder<'a, 'gcc, 'tcx> {
     fn fptosi_sat(&mut self, val: RValue<'gcc>, dest_ty: Type<'gcc>) -> RValue<'gcc> {
         self.fptoint_sat(true, val, dest_ty)
     }
-
-    fn instrprof_increment(
-        &mut self,
-        _fn_name: RValue<'gcc>,
-        _hash: RValue<'gcc>,
-        _num_counters: RValue<'gcc>,
-        _index: RValue<'gcc>,
-    ) {
-        unimplemented!();
-    }
 }
 
 impl<'a, 'gcc, 'tcx> Builder<'a, 'gcc, 'tcx> {