8201227: Add ALL_GCS_ONLY
authorstefank
Fri, 06 Apr 2018 13:54:54 +0200
changeset 49714 86a349234225
parent 49713 456e51e56ea2
child 49715 947560700a09
8201227: Add ALL_GCS_ONLY Reviewed-by: sjohanss, shade, rehn
src/hotspot/share/utilities/macros.hpp
--- a/src/hotspot/share/utilities/macros.hpp	Fri Apr 06 11:41:21 2018 +0200
+++ b/src/hotspot/share/utilities/macros.hpp	Fri Apr 06 13:54:54 2018 +0200
@@ -141,9 +141,11 @@
 #endif // INCLUDE_ALL_GCS
 
 #if INCLUDE_ALL_GCS
+#define ALL_GCS_ONLY(x) x
 #define NOT_ALL_GCS_RETURN        /* next token must be ; */
 #define NOT_ALL_GCS_RETURN_(code) /* next token must be ; */
 #else
+#define ALL_GCS_ONLY(x)
 #define NOT_ALL_GCS_RETURN        {}
 #define NOT_ALL_GCS_RETURN_(code) { return code; }
 #endif // INCLUDE_ALL_GCS