+2009-11-05 Doug Evans <dje@sebabeach.org>
+
+ * cgen-mem.h (DECLARE_GETT): Don't inline.
+ (DECLARE_SETT): Ditto.
+
2009-10-15 Joel Sherrill <joel.sherrill@oarcorp.com>
* sim-inline.h: Fix spelling error.
This needn't be very efficient (i.e. can call memcpy) as this is
only used when interfacing with the outside world (e.g. gdb). */
-#if defined (__GNUC__) || defined (MEMOPS_DEFINE_INLINE)
+#if defined (MEMOPS_DEFINE_INLINE)
#define DECLARE_GETT(mode, size) \
-MEMOPS_INLINE mode \
+mode \
XCONCAT2 (GETT,mode) (unsigned char *p) \
{ \
mode tmp; \
This needn't be very efficient (i.e. can call memcpy) as this is
only used when interfacing with the outside world (e.g. gdb). */
-#if defined (__GNUC__) || defined (MEMOPS_DEFINE_INLINE)
+#if defined (MEMOPS_DEFINE_INLINE)
#define DECLARE_SETT(mode, size) \
-MEMOPS_INLINE void \
+void \
XCONCAT2 (SETT,mode) (unsigned char *buf, mode val) \
{ \
mode tmp; \
}
#else
#define DECLARE_SETT(mode, size) \
-extern mode XCONCAT2 (GETT,mode) (unsigned char *, mode);
+extern mode XCONCAT2 (SETT,mode) (unsigned char *, mode);
#endif
DECLARE_SETT (QI, 1) /* TAGS: SETTQI */