< prev index next >

src/hotspot/share/utilities/macros.hpp

BarrierSetC1

188 #define NOT_JVMCI(code) code                                                                                                         
189 #define NOT_JVMCI_RETURN {}                                                                                                          
190 #endif // INCLUDE_JVMCI                                                                                                              
191 
192 #if INCLUDE_AOT                                                                                                                      
193 #define AOT_ONLY(code) code                                                                                                          
194 #define NOT_AOT(code)                                                                                                                
195 #define NOT_AOT_RETURN /* next token must be ; */                                                                                    
196 #else                                                                                                                                
197 #define AOT_ONLY(code)                                                                                                               
198 #define NOT_AOT(code) code                                                                                                           
199 #define NOT_AOT_RETURN {}                                                                                                            
200 #endif // INCLUDE_AOT                                                                                                                
201 
202 // COMPILER1 variant                                                                                                                 
203 #ifdef COMPILER1                                                                                                                     
204 #ifdef COMPILER2                                                                                                                     
205   #define TIERED                                                                                                                     
206 #endif                                                                                                                               
207 #define COMPILER1_PRESENT(code) code                                                                                                 
                                                                                                                                     
208 #else // COMPILER1                                                                                                                   
209 #define COMPILER1_PRESENT(code)                                                                                                      
                                                                                                                                     
210 #endif // COMPILER1                                                                                                                  
211 
212 // COMPILER2 variant                                                                                                                 
213 #ifdef COMPILER2                                                                                                                     
214 #define COMPILER2_PRESENT(code) code                                                                                                 
215 #define NOT_COMPILER2(code)                                                                                                          
216 #else // COMPILER2                                                                                                                   
217 #define COMPILER2_PRESENT(code)                                                                                                      
218 #define NOT_COMPILER2(code) code                                                                                                     
219 #endif // COMPILER2                                                                                                                  
220 
221 // COMPILER2 or JVMCI                                                                                                                
222 #if defined(COMPILER2) || INCLUDE_JVMCI                                                                                              
223 #define COMPILER2_OR_JVMCI 1                                                                                                         
224 #define COMPILER2_OR_JVMCI_PRESENT(code) code                                                                                        
225 #define NOT_COMPILER2_OR_JVMCI(code)                                                                                                 
226 #else                                                                                                                                
227 #define COMPILER2_OR_JVMCI 0                                                                                                         
228 #define COMPILER2_OR_JVMCI_PRESENT(code)                                                                                             

188 #define NOT_JVMCI(code) code
189 #define NOT_JVMCI_RETURN {}
190 #endif // INCLUDE_JVMCI
191 
192 #if INCLUDE_AOT
193 #define AOT_ONLY(code) code
194 #define NOT_AOT(code)
195 #define NOT_AOT_RETURN /* next token must be ; */
196 #else
197 #define AOT_ONLY(code)
198 #define NOT_AOT(code) code
199 #define NOT_AOT_RETURN {}
200 #endif // INCLUDE_AOT
201 
202 // COMPILER1 variant
203 #ifdef COMPILER1
204 #ifdef COMPILER2
205   #define TIERED
206 #endif
207 #define COMPILER1_PRESENT(code) code
208 #define NOT_COMPILER1(code)
209 #else // COMPILER1
210 #define COMPILER1_PRESENT(code)
211 #define NOT_COMPILER1(code) code
212 #endif // COMPILER1
213 
214 // COMPILER2 variant
215 #ifdef COMPILER2
216 #define COMPILER2_PRESENT(code) code
217 #define NOT_COMPILER2(code)
218 #else // COMPILER2
219 #define COMPILER2_PRESENT(code)
220 #define NOT_COMPILER2(code) code
221 #endif // COMPILER2
222 
223 // COMPILER2 or JVMCI
224 #if defined(COMPILER2) || INCLUDE_JVMCI
225 #define COMPILER2_OR_JVMCI 1
226 #define COMPILER2_OR_JVMCI_PRESENT(code) code
227 #define NOT_COMPILER2_OR_JVMCI(code)
228 #else
229 #define COMPILER2_OR_JVMCI 0
230 #define COMPILER2_OR_JVMCI_PRESENT(code)
< prev index next >