about summary refs log tree commit diff
path: root/compiler/rustc_codegen_gcc
diff options
context:
space:
mode:
authorJubilee <workingjubilee@gmail.com>2024-10-24 23:23:56 -0700
committerGitHub <noreply@github.com>2024-10-24 23:23:56 -0700
commit7f93af1a1ea4b8532750a56daacb877cc96d26ad (patch)
tree1eccc12b6948795871ffcb98ee230ac99a82d508 /compiler/rustc_codegen_gcc
parent3c6d34f4c41afa1481a25559f3f600010494078a (diff)
parent8f075145200aef04b36f2e2239f09b796c6ac8b8 (diff)
downloadrust-7f93af1a1ea4b8532750a56daacb877cc96d26ad.tar.gz
rust-7f93af1a1ea4b8532750a56daacb877cc96d26ad.zip
Rollup merge of #132125 - Zalathar:coverage-intrinsics, r=jieyouxu
coverage: Emit LLVM intrinsics using the normal helper method

Codegen already has convenient ways to declare and emit LLVM intrinsics, so there's no need for coverage instrumentation to jump through hoops to emit them manually.
Diffstat (limited to 'compiler/rustc_codegen_gcc')
-rw-r--r--compiler/rustc_codegen_gcc/src/builder.rs10
1 files changed, 0 insertions, 10 deletions
diff --git a/compiler/rustc_codegen_gcc/src/builder.rs b/compiler/rustc_codegen_gcc/src/builder.rs
index 45738068509..7c52cba096b 100644
--- a/compiler/rustc_codegen_gcc/src/builder.rs
+++ b/compiler/rustc_codegen_gcc/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> {