aboutsummaryrefslogtreecommitdiff
path: root/gcc/rust/hir
diff options
context:
space:
mode:
authorOwen Avery <powerboat9.gamer@gmail.com>2023-08-31 14:39:27 -0400
committerPhilip Herron <philip.herron@embecosm.com>2023-09-04 08:31:39 +0000
commitd6caab05c799e414bec8a2184d9347116d750dfa (patch)
tree05b3652ccea8d8d712944c7e1aa726b3f54b1aaf /gcc/rust/hir
parente5b5938b5ace4d6805cc364bdf7414fb6d1dc83a (diff)
downloadgcc-d6caab05c799e414bec8a2184d9347116d750dfa.zip
gcc-d6caab05c799e414bec8a2184d9347116d750dfa.tar.gz
gcc-d6caab05c799e414bec8a2184d9347116d750dfa.tar.bz2
Move function-related methods into base class Backend
gcc/rust/ChangeLog: * rust-backend.h (Backend::function): Make non-virtual. (Backend::function_defer_statement): Likewise. (Backend::function_set_parameters): Likewise. (Backend::write_global_definitions): Likewise. (Backend::write_export_data): Likewise. (Gcc_backend::function): Remove. (Gcc_backend::function_defer_statement): Remove. (Gcc_backend::function_set_parameters): Remove. (Gcc_backend::write_global_definitions): Remove. (Gcc_backend::write_export_data): Remove. * rust-gcc.cc (Gcc_backend::function): Rename to ... (Backend::function): ... here. (Gcc_backend::function_defer_statement): Fix a qualified lookup of Backend::label and rename to ... (Backend::function_defer_statement): ... here. (Gcc_backend::function_set_parameters) Rename to ... (Backend::function_set_parameters): ... here. (Gcc_backend::write_global_definitions): Rename to ... (Backend::write_global_definitions): ... here. (Gcc_backend::write_export_data): Rename to ... (Backend::write_export_data): ... here. Signed-off-by: Owen Avery <powerboat9.gamer@gmail.com>
Diffstat (limited to 'gcc/rust/hir')
0 files changed, 0 insertions, 0 deletions