Mercurial > hg > graal-jvmci-8
changeset 22451:2229c0e4fe21
guard against COMPILERJVMCI and COMPILER2 both being defined since they are mutually exclusive
author | Doug Simon <doug.simon@oracle.com> |
---|---|
date | Fri, 21 Aug 2015 12:13:43 +0200 |
parents | a17e3063a7b5 |
children | b6fd47c5dc0b |
files | src/share/vm/utilities/macros.hpp |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/src/share/vm/utilities/macros.hpp Fri Aug 21 11:39:38 2015 +0200 +++ b/src/share/vm/utilities/macros.hpp Fri Aug 21 12:13:43 2015 +0200 @@ -209,6 +209,10 @@ #error "COMPILERJVMCI needs INCLUDE_JVMCI=1" #endif +#if defined(COMPILERJVMCI) && defined(COMPILER2) +#error "COMPILERJVMCI is mutually exclusive with COMPILER2" +#endif + #ifdef TIERED #define TIERED_ONLY(code) code #define NOT_TIERED(code)