Mercurial > hg > graal-compiler
comparison src/share/vm/utilities/macros.hpp @ 14107:800057208a2c
enable C1 + Graal tiered
author | Tom Rodriguez <tom.rodriguez@oracle.com> |
---|---|
date | Thu, 06 Mar 2014 17:11:39 -0800 |
parents | 836a62f43af9 |
children | 7ad529321294 |
comparison
equal
deleted
inserted
replaced
14106:ca37cb080dad | 14107:800057208a2c |
---|---|
164 #define INCLUDE_TRACE 1 | 164 #define INCLUDE_TRACE 1 |
165 #endif // INCLUDE_TRACE | 165 #endif // INCLUDE_TRACE |
166 | 166 |
167 // COMPILER1 variant | 167 // COMPILER1 variant |
168 #ifdef COMPILER1 | 168 #ifdef COMPILER1 |
169 #ifdef COMPILER2 | 169 #if defined(COMPILER2) || defined(GRAAL) |
170 #define TIERED | 170 #define TIERED |
171 #endif | 171 #endif |
172 #define COMPILER1_PRESENT(code) code | 172 #define COMPILER1_PRESENT(code) code |
173 #else // COMPILER1 | 173 #else // COMPILER1 |
174 #define COMPILER1_PRESENT(code) | 174 #define COMPILER1_PRESENT(code) |
185 | 185 |
186 #ifdef GRAAL | 186 #ifdef GRAAL |
187 #define GRAAL_ONLY(code) code | 187 #define GRAAL_ONLY(code) code |
188 #define NOT_GRAAL(code) | 188 #define NOT_GRAAL(code) |
189 #define IS_GRAAL_DEFINED true | 189 #define IS_GRAAL_DEFINED true |
190 #if !defined(COMPILER1) && !defined(COMPILER2) | 190 #if !defined(COMPILER2) |
191 // Graal is the only compiler in the system and so will be used for compilation | 191 // Graal is the only compiler in the system and so will be used for compilation |
192 // requests issued by the compile broker. | 192 // requests issued by the compile broker. |
193 #define GRAALVM | 193 #define GRAALVM |
194 #define GRAALVM_ONLY(code) code | 194 #define GRAALVM_ONLY(code) code |
195 #define NOT_GRAALVM(code) | 195 #define NOT_GRAALVM(code) |