/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* under the terms of the GNU General Public License version 2 only, as
* published by the Free Software Foundation.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* You should have received a copy of the GNU General Public License version
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*
*/
#ifndef SHARE_VM_UTILITIES_MACROS_HPP
#define SHARE_VM_UTILITIES_MACROS_HPP
// Use this to mark code that needs to be cleaned up (for development only)
#define NEEDS_CLEANUP
// Makes a string of the argument (which is not macro-expanded)
#define STR(a) #a
// Makes a string of the macro expansion of a
// COMPILER1 variant
#ifdef COMPILER1
#ifdef COMPILER2
#define TIERED
#endif
#else // COMPILER1
#endif // COMPILER1
// COMPILER2 variant
#ifdef COMPILER2
#else // COMPILER2
#endif // COMPILER2
#ifdef TIERED
#else
#endif // TIERED
// PRODUCT variant
#ifdef PRODUCT
#define PRODUCT_RETURN {}
#define PRODUCT_RETURN0 { return 0; }
#else // PRODUCT
#endif // PRODUCT
#ifdef CHECK_UNHANDLED_OOPS
#else
#endif // CHECK_UNHANDLED_OOPS
#ifdef CC_INTERP
#else
#endif // CC_INTERP
#ifdef ASSERT
// Historical.
#else // ASSERT
#define NOT_DEBUG_RETURN {}
#endif // ASSERT
#ifdef _LP64
#else // !_LP64
#endif // _LP64
#ifdef LINUX
#else
#endif
#ifdef SOLARIS
#else
#endif
#ifdef _WINDOWS
#else
#endif
#else
#endif
#ifdef _WIN64
#else
#endif
#if defined(ZERO)
#else
#endif
#if defined(SHARK)
#else
#endif
#define X86
#else
#endif
#ifdef IA32
#else
#endif
#ifdef IA64
#else
#endif
#ifdef AMD64
#else
#endif
#ifdef SPARC
#else
#endif
#ifdef PPC
#else
#endif
#ifdef E500V2
#else
#endif
#ifdef ARM
#else
#endif
#ifdef JAVASE_EMBEDDED
#else
#endif
#endif // SHARE_VM_UTILITIES_MACROS_HPP