emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r100776: Remove obsolete noinline dec


From: Andreas Schwab
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r100776: Remove obsolete noinline declaration
Date: Sun, 11 Jul 2010 10:38:22 +0200
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 100776
committer: Andreas Schwab <address@hidden>
branch nick: emacs
timestamp: Sun 2010-07-11 10:38:22 +0200
message:
  Remove obsolete noinline declaration
  
  * eval.c (apply1, call2): Don't declare noinline.
  * fns.c (concat): Likewise.
modified:
  src/ChangeLog
  src/eval.c
  src/fns.c
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2010-07-11 06:59:55 +0000
+++ b/src/ChangeLog     2010-07-11 08:38:22 +0000
@@ -1,3 +1,8 @@
+2010-07-11  Andreas Schwab  <address@hidden>
+
+       * eval.c: Remove obsolete noinline declaration.
+       * fns.c: Likewise.
+
 2010-07-11  Ken Raeburn  <address@hidden>
 
        * doprnt.c (doprnt): Take a va_list argument instead of count and

=== modified file 'src/eval.c'
--- a/src/eval.c        2010-07-11 06:59:55 +0000
+++ b/src/eval.c        2010-07-11 08:38:22 +0000
@@ -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)

=== modified file 'src/fns.c'
--- a/src/fns.c 2010-07-08 21:25:08 +0000
+++ b/src/fns.c 2010-07-11 08:38:22 +0000
@@ -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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]