Mercurial > hg > graal-jvmci-8
diff src/share/vm/utilities/macros.hpp @ 6926:a3e2f723f2a5
8000780: make Zero build and run with JDK8
Reviewed-by: coleenp, dholmes, twisti
Contributed-by: Roman Kennke <rkennke@redhat.com>
author | twisti |
---|---|
date | Mon, 29 Oct 2012 11:08:48 -0700 |
parents | fb19af007ffc |
children | e522a00b91aa db9981fd3124 |
line wrap: on
line diff
--- a/src/share/vm/utilities/macros.hpp Fri Oct 26 14:18:57 2012 -0700 +++ b/src/share/vm/utilities/macros.hpp Mon Oct 29 11:08:48 2012 -0700 @@ -282,6 +282,22 @@ #define NOT_WIN64(code) code #endif +#if defined(ZERO) +#define ZERO_ONLY(code) code +#define NOT_ZERO(code) +#else +#define ZERO_ONLY(code) +#define NOT_ZERO(code) code +#endif + +#if defined(SHARK) +#define SHARK_ONLY(code) code +#define NOT_SHARK(code) +#else +#define SHARK_ONLY(code) +#define NOT_SHARK(code) code +#endif + #if defined(IA32) || defined(AMD64) #define X86 #define X86_ONLY(code) code