Mercurial > hg > truffle
comparison src/share/vm/utilities/macros.hpp @ 9760:c76b43ed5089
Added infrastructure for recording invoked methods in the profiling information.
author | Christian Haeubl <haeubl@ssw.jku.at> |
---|---|
date | Fri, 17 May 2013 15:38:22 +0200 |
parents | b8f261ba79c6 |
children | 836a62f43af9 |
comparison
equal
deleted
inserted
replaced
9759:580faa2ee288 | 9760:c76b43ed5089 |
---|---|
180 #endif // COMPILER2 | 180 #endif // COMPILER2 |
181 | 181 |
182 #ifdef GRAAL | 182 #ifdef GRAAL |
183 #define GRAAL_ONLY(code) code | 183 #define GRAAL_ONLY(code) code |
184 #define NOT_GRAAL(code) | 184 #define NOT_GRAAL(code) |
185 #define IS_GRAAL_DEFINED true | |
185 #if !defined(COMPILER1) && !defined(COMPILER2) | 186 #if !defined(COMPILER1) && !defined(COMPILER2) |
186 // Graal is the only compiler in the system and so will be used for compilation | 187 // Graal is the only compiler in the system and so will be used for compilation |
187 // requests issued by the compile broker. | 188 // requests issued by the compile broker. |
188 #define GRAALVM | 189 #define GRAALVM |
189 #define GRAALVM_ONLY(code) code | 190 #define GRAALVM_ONLY(code) code |
195 #define NOT_GRAALVM(code) code | 196 #define NOT_GRAALVM(code) code |
196 #endif | 197 #endif |
197 #else // !GRAAL | 198 #else // !GRAAL |
198 #define GRAAL_ONLY(code) | 199 #define GRAAL_ONLY(code) |
199 #define NOT_GRAAL(code) code | 200 #define NOT_GRAAL(code) code |
201 #define IS_GRAAL_DEFINED false | |
200 #define GRAALVM_ONLY(code) | 202 #define GRAALVM_ONLY(code) |
201 #define NOT_GRAALVM(code) code | 203 #define NOT_GRAALVM(code) code |
202 #endif // GRAAL | 204 #endif // GRAAL |
203 | 205 |
204 #ifdef TIERED | 206 #ifdef TIERED |