public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r14-7993] gccrs: Remove Backend::write_export_data
@ 2024-01-16 18:11 Arthur Cohen
  0 siblings, 0 replies; only message in thread
From: Arthur Cohen @ 2024-01-16 18:11 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:346ccc0f0a8e2b916e33ac69f7f14bf5b7c1c8ad

commit r14-7993-g346ccc0f0a8e2b916e33ac69f7f14bf5b7c1c8ad
Author: Owen Avery <powerboat9.gamer@gmail.com>
Date:   Mon Sep 4 14:23:10 2023 -0400

    gccrs: Remove Backend::write_export_data
    
    gcc/rust/ChangeLog:
    
            * rust-backend.h
            (Backend::write_export_data): Remove.
            * rust-gcc.cc
            (Backend::write_export_data): Remove.

Diff:
---
 gcc/rust/rust-backend.h | 4 ----
 gcc/rust/rust-gcc.cc    | 6 ------
 2 files changed, 10 deletions(-)

diff --git a/gcc/rust/rust-backend.h b/gcc/rust/rust-backend.h
index 2c04f7aff81..ceb5f9f045e 100644
--- a/gcc/rust/rust-backend.h
+++ b/gcc/rust/rust-backend.h
@@ -456,10 +456,6 @@ public:
 			    const std::vector<tree> &function_decls,
 			    const std::vector<Bvariable *> &variable_decls);
 
-  // Write SIZE bytes of export data from BYTES to the proper
-  // section in the output object file.
-  void write_export_data (const char *bytes, unsigned int size);
-
 protected:
   tree fill_in_fields (tree, const std::vector<typed_identifier> &);
 
diff --git a/gcc/rust/rust-gcc.cc b/gcc/rust/rust-gcc.cc
index aae536c52b1..3de08873550 100644
--- a/gcc/rust/rust-gcc.cc
+++ b/gcc/rust/rust-gcc.cc
@@ -2469,12 +2469,6 @@ Backend::write_global_definitions (
   delete[] defs;
 }
 
-void
-Backend::write_export_data (const char *bytes, unsigned int size)
-{
-  rust_write_export_data (bytes, size);
-}
-
 // Return the backend generator.
 
 Backend *

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2024-01-16 18:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-01-16 18:11 [gcc r14-7993] gccrs: Remove Backend::write_export_data Arthur Cohen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).