import gdb-1999-05-10
[binutils-gdb.git] / sim / ppc / inline.h
index bd1e95f66c9c3bfe701597af4e2bcdac14b9d2a9..f88cd9e4904f1937a817cdaa3c31add606ccaf95 100644 (file)
 #endif
 
 
+/* tree is inlined with inline.c */
+
+#if defined(_INLINE_C_) && !defined(_TREE_C_) && (TREE_INLINE & INCLUDE_MODULE)
+# if (TREE_INLINE & INLINE_MODULE)
+#  define INLINE_TREE(TYPE) static INLINE TYPE UNUSED
+#  define EXTERN_TREE(TYPE) static TYPE UNUSED
+#else
+#  define INLINE_TREE(TYPE) static TYPE UNUSED
+#  define EXTERN_TREE(TYPE) static TYPE UNUSED
+#endif
+#else
+# define INLINE_TREE(TYPE) TYPE
+# define EXTERN_TREE(TYPE) TYPE
+#endif
+
+#if (TREE_INLINE & INLINE_LOCALS)
+# define STATIC_INLINE_TREE(TYPE) static INLINE TYPE
+#else
+# define STATIC_INLINE_TREE(TYPE) static TYPE
+#endif
+
+
 /* spreg is inlined with inline.c */
 
 #if defined(_INLINE_C_) && !defined(_SPREG_C_) && (SPREG_INLINE & INCLUDE_MODULE)
 #endif
 
 
-/* support is inlined with inline.c */
+/* support is always inlined */
 
-#if defined(_INLINE_C_) && !defined(_SUPPORT_C_) && (SUPPORT_INLINE & INCLUDE_MODULE)
+#if !defined(_SUPPORT_C_) && (SUPPORT_INLINE & INCLUDE_MODULE)
 # if (SUPPORT_INLINE & INLINE_MODULE)
 #  define INLINE_SUPPORT(TYPE) static INLINE TYPE UNUSED
-#  define EXTERN_SUPPORT(TYPE) static TYPE UNUSED REGPARM
+#  define EXTERN_SUPPORT(TYPE) static TYPE UNUSED
 #else
-#  define INLINE_SUPPORT(TYPE) static TYPE UNUSED REGPARM
-#  define EXTERN_SUPPORT(TYPE) static TYPE UNUSED REGPARM
+#  define INLINE_SUPPORT(TYPE) static TYPE UNUSED
+#  define EXTERN_SUPPORT(TYPE) static TYPE UNUSED
 #endif
 #else
-# define INLINE_SUPPORT(TYPE) TYPE REGPARM
-# define EXTERN_SUPPORT(TYPE) TYPE REGPARM
+# define INLINE_SUPPORT(TYPE) TYPE
+# define EXTERN_SUPPORT(TYPE) TYPE
 #endif
 
 #if (SUPPORT_INLINE & INLINE_LOCALS)
 # define STATIC_INLINE_SUPPORT(TYPE) static INLINE TYPE
 #else
-# define STATIC_INLINE_SUPPORT(TYPE) static TYPE REGPARM
+# define STATIC_INLINE_SUPPORT(TYPE) static TYPE
 #endif