Mercurial > hg > graal-compiler
comparison src/share/vm/runtime/globals.hpp @ 4868:5f17b16b3219
7141059: 7116795 broke pure c2 builds
Summary: Fix pure c2 builds
Reviewed-by: kvn, brutisso, never
author | iveresov |
---|---|
date | Mon, 30 Jan 2012 19:37:14 -0800 |
parents | dddf0be88eb1 |
children | aa3d708d67c4 |
comparison
equal
deleted
inserted
replaced
4867:1a2723f7ad8e | 4868:5f17b16b3219 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2011, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2012, 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. |
24 | 24 |
25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP | 25 #ifndef SHARE_VM_RUNTIME_GLOBALS_HPP |
26 #define SHARE_VM_RUNTIME_GLOBALS_HPP | 26 #define SHARE_VM_RUNTIME_GLOBALS_HPP |
27 | 27 |
28 #include "utilities/debug.hpp" | 28 #include "utilities/debug.hpp" |
29 | |
30 // use this for flags that are true per default in the tiered build | |
31 // but false in non-tiered builds, and vice versa | |
32 #ifdef TIERED | |
33 #define trueInTiered true | |
34 #define falseInTiered false | |
35 #else | |
36 #define trueInTiered false | |
37 #define falseInTiered true | |
38 #endif | |
39 | |
29 #ifdef TARGET_ARCH_x86 | 40 #ifdef TARGET_ARCH_x86 |
30 # include "globals_x86.hpp" | 41 # include "globals_x86.hpp" |
31 #endif | 42 #endif |
32 #ifdef TARGET_ARCH_sparc | 43 #ifdef TARGET_ARCH_sparc |
33 # include "globals_sparc.hpp" | 44 # include "globals_sparc.hpp" |
349 #define trueInProduct true | 360 #define trueInProduct true |
350 #define falseInProduct false | 361 #define falseInProduct false |
351 #else | 362 #else |
352 #define trueInProduct false | 363 #define trueInProduct false |
353 #define falseInProduct true | 364 #define falseInProduct true |
354 #endif | |
355 | |
356 // use this for flags that are true per default in the tiered build | |
357 // but false in non-tiered builds, and vice versa | |
358 #ifdef TIERED | |
359 #define trueInTiered true | |
360 #define falseInTiered false | |
361 #else | |
362 #define trueInTiered false | |
363 #define falseInTiered true | |
364 #endif | 365 #endif |
365 | 366 |
366 #ifdef JAVASE_EMBEDDED | 367 #ifdef JAVASE_EMBEDDED |
367 #define falseInEmbedded false | 368 #define falseInEmbedded false |
368 #else | 369 #else |