Mercurial > hg > truffle
comparison src/share/vm/utilities/globalDefinitions.hpp @ 2181:d25d4ca69222
Merge.
author | Thomas Wuerthinger <wuerthinger@ssw.jku.at> |
---|---|
date | Wed, 16 Feb 2011 13:47:20 +0100 |
parents | 06f017f7daa7 0fa27f37d4d4 |
children | 0cd39a385a72 |
comparison
equal
deleted
inserted
replaced
2108:50b45e2d9725 | 2181:d25d4ca69222 |
---|---|
1 /* | 1 /* |
2 * Copyright (c) 1997, 2010, Oracle and/or its affiliates. All rights reserved. | 2 * Copyright (c) 1997, 2011, 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. |
1177 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp) | 1177 // Each compiler-specific definitions file (e.g., globalDefinitions_gcc.hpp) |
1178 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or | 1178 // must define the macro FORMAT64_MODIFIER, which is the modifier for '%x' or |
1179 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll" | 1179 // '%d' formats to indicate a 64-bit quantity; commonly "l" (in LP64) or "ll" |
1180 // (in ILP32). | 1180 // (in ILP32). |
1181 | 1181 |
1182 #define BOOL_TO_STR(__b) (__b) ? "true" : "false" | |
1183 | |
1182 // Format 32-bit quantities. | 1184 // Format 32-bit quantities. |
1183 #define INT32_FORMAT "%d" | 1185 #define INT32_FORMAT "%d" |
1184 #define UINT32_FORMAT "%u" | 1186 #define UINT32_FORMAT "%u" |
1185 #define INT32_FORMAT_W(width) "%" #width "d" | 1187 #define INT32_FORMAT_W(width) "%" #width "d" |
1186 #define UINT32_FORMAT_W(width) "%" #width "u" | 1188 #define UINT32_FORMAT_W(width) "%" #width "u" |