hotspot/src/share/vm/utilities/macros.hpp
changeset 37272 c427db4ea8c4
parent 36350 29d8bb1668f5
child 38704 eb96c446c3a5
equal deleted inserted replaced
37271:95774d8b3cc2 37272:c427db4ea8c4
     1 /*
     1 /*
     2  * Copyright (c) 1997, 2015, Oracle and/or its affiliates. All rights reserved.
     2  * Copyright (c) 1997, 2016, Oracle and/or its affiliates. All rights reserved.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     3  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
     4  *
     4  *
     5  * This code is free software; you can redistribute it and/or modify it
     5  * This code is free software; you can redistribute it and/or modify it
     6  * under the terms of the GNU General Public License version 2 only, as
     6  * under the terms of the GNU General Public License version 2 only, as
     7  * published by the Free Software Foundation.
     7  * published by the Free Software Foundation.
   203 #define NOT_COMPILER2(code)
   203 #define NOT_COMPILER2(code)
   204 #else // COMPILER2
   204 #else // COMPILER2
   205 #define COMPILER2_PRESENT(code)
   205 #define COMPILER2_PRESENT(code)
   206 #define NOT_COMPILER2(code) code
   206 #define NOT_COMPILER2(code) code
   207 #endif // COMPILER2
   207 #endif // COMPILER2
       
   208 
       
   209 // COMPILER2 or JVMCI
       
   210 #if defined(COMPILER2) || INCLUDE_JVMCI
       
   211 #define COMPILER2_OR_JVMCI 1
       
   212 #define COMPILER2_OR_JVMCI_PRESENT(code) code
       
   213 #define NOT_COMPILER2_OR_JVMCI(code)
       
   214 #else
       
   215 #define COMPILER2_OR_JVMCI 0
       
   216 #define COMPILER2_OR_JVMCI_PRESENT(code)
       
   217 #define NOT_COMPILER2_OR_JVMCI(code) code
       
   218 #endif
   208 
   219 
   209 #ifdef TIERED
   220 #ifdef TIERED
   210 #define TIERED_ONLY(code) code
   221 #define TIERED_ONLY(code) code
   211 #define NOT_TIERED(code)
   222 #define NOT_TIERED(code)
   212 #else // TIERED
   223 #else // TIERED