changeset 109310:988ceb510e6b

Remove obsolete noinline declaration * eval.c (apply1, call2): Don't declare noinline. * fns.c (concat): Likewise.
author Andreas Schwab <schwab@linux-m68k.org>
date Sun, 11 Jul 2010 10:38:22 +0200
parents 1d46091f1f65
children d81bdcde8ec3
files src/ChangeLog src/eval.c src/fns.c
diffstat 3 files changed, 7 insertions(+), 16 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Sun Jul 11 10:28:04 2010 +0200
+++ b/src/ChangeLog	Sun Jul 11 10:38:22 2010 +0200
@@ -1,3 +1,8 @@
+2010-07-11  Andreas Schwab  <schwab@linux-m68k.org>
+
+	* eval.c: Remove obsolete noinline declaration.
+	* fns.c: Likewise.
+
 2010-07-11  Ken Raeburn  <raeburn@raeburn.org>
 
 	* doprnt.c (doprnt): Take a va_list argument instead of count and
--- a/src/eval.c	Sun Jul 11 10:28:04 2010 +0200
+++ b/src/eval.c	Sun Jul 11 10:38:22 2010 +0200
@@ -172,14 +172,6 @@
 
 static Lisp_Object funcall_lambda (Lisp_Object, int, Lisp_Object*);
 static void unwind_to_catch (struct catchtag *, Lisp_Object) NO_RETURN;
-
-#if __GNUC__
-/* "gcc -O3" enables automatic function inlining, which optimizes out
-   the arguments for the invocations of these functions, whereas they
-   expect these values on the stack.  */
-Lisp_Object apply1 (Lisp_Object fn, Lisp_Object arg) __attribute__((noinline));
-Lisp_Object call2 (Lisp_Object fn, Lisp_Object arg1, Lisp_Object arg2) __attribute__((noinline));
-#endif
 
 void
 init_eval_once (void)
--- a/src/fns.c	Sun Jul 11 10:28:04 2010 +0200
+++ b/src/fns.c	Sun Jul 11 10:38:22 2010 +0200
@@ -371,14 +371,8 @@
   return i1 < SCHARS (s2) ? Qt : Qnil;
 }
 
-#if __GNUC__
-/* "gcc -O3" enables automatic function inlining, which optimizes out
-   the arguments for the invocations of this function, whereas it
-   expects these values on the stack.  */
-static Lisp_Object concat (int nargs, Lisp_Object *args, enum Lisp_Type target_type, int last_special) __attribute__((noinline));
-#else  /* !__GNUC__ */
-static Lisp_Object concat (int nargs, Lisp_Object *args, enum Lisp_Type target_type, int last_special);
-#endif
+static Lisp_Object concat (int nargs, Lisp_Object *args,
+			   enum Lisp_Type target_type, int last_special);
 
 /* ARGSUSED */
 Lisp_Object