public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc/devel/rust/master] builtins: Remove unused parameter
@ 2022-12-03 11:49 Thomas Schwinge
  0 siblings, 0 replies; only message in thread
From: Thomas Schwinge @ 2022-12-03 11:49 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:4c66e0f3c105b2ae929d224acadb70b3b95b5333

commit 4c66e0f3c105b2ae929d224acadb70b3b95b5333
Author: Arthur Cohen <arthur.cohen@embecosm.com>
Date:   Wed Nov 30 12:12:14 2022 +0100

    builtins: Remove unused parameter

Diff:
---
 gcc/rust/backend/rust-builtins.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gcc/rust/backend/rust-builtins.cc b/gcc/rust/backend/rust-builtins.cc
index ee3e42e6b53..ec65026c675 100644
--- a/gcc/rust/backend/rust-builtins.cc
+++ b/gcc/rust/backend/rust-builtins.cc
@@ -253,7 +253,7 @@ BuiltinsContext::define_builtins ()
 {
   auto *built_in_attributes = builtin_attributes;
   auto build_builtin = [this] (built_in_function fn_code, const char *fn_name,
-			       built_in_class fn_class, tree fn_type, bool both,
+			       built_in_class fn_class, tree fn_type,
 			       bool fallback, tree attributes, bool implicit) {
     if (fn_type == error_mark_node)
       return;
@@ -272,7 +272,7 @@ BuiltinsContext::define_builtins ()
 #define DEF_BUILTIN(ENUM, NAME, CLASS, TYPE, LIBTYPE, BOTH_P, FALLBACK_P,      \
 		    NONANSI_P, ATTRS, IMPLICIT, COND)                          \
   if (NAME && COND)                                                            \
-    build_builtin (ENUM, NAME, CLASS, builtin_types[TYPE], BOTH_P, FALLBACK_P, \
+    build_builtin (ENUM, NAME, CLASS, builtin_types[TYPE], FALLBACK_P,         \
 		   built_in_attributes[ATTRS], IMPLICIT);
 #include "builtins.def"
 #undef DEF_BUILTIN

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

only message in thread, other threads:[~2022-12-03 11:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-12-03 11:49 [gcc/devel/rust/master] builtins: Remove unused parameter Thomas Schwinge

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).