qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [5751] Only force inlining when optimizing.
@ 2008-11-19  1:31 Paul Brook
  0 siblings, 0 replies; only message in thread
From: Paul Brook @ 2008-11-19  1:31 UTC (permalink / raw)
  To: qemu-devel

Revision: 5751
          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=5751
Author:   pbrook
Date:     2008-11-19 01:31:52 +0000 (Wed, 19 Nov 2008)

Log Message:
-----------
Only force inlining when optimizing.

Modified Paths:
--------------
    trunk/osdep.h

Modified: trunk/osdep.h
===================================================================
--- trunk/osdep.h	2008-11-18 22:00:43 UTC (rev 5750)
+++ trunk/osdep.h	2008-11-19 01:31:52 UTC (rev 5751)
@@ -48,8 +48,10 @@
 #define always_inline inline
 #else
 #define always_inline __attribute__ (( always_inline )) __inline__
+#ifdef __OPTIMIZE__
 #define inline always_inline
 #endif
+#endif
 #else
 #define inline always_inline
 #endif

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

only message in thread, other threads:[~2008-11-19  1:31 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-19  1:31 [Qemu-devel] [5751] Only force inlining when optimizing Paul Brook

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 NNTP newsgroup(s).