src/share/vm/utilities/macros.hpp

changeset 6876
710a3c8b516e
parent 6503
a9becfeecd1b
parent 1
2d8a650513c2
child 7994
04ff2f6cd0eb
equal deleted inserted replaced
6875:28b50d07f6f8 6876:710a3c8b516e
18 * 18 *
19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA 19 * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
20 * or visit www.oracle.com if you need additional information or have any 20 * or visit www.oracle.com if you need additional information or have any
21 * questions. 21 * questions.
22 * 22 *
23 */
24
25 /*
26 * This file has been modified by Loongson Technology in 2015. These
27 * modifications are Copyright (c) 2015 Loongson Technology, and are made
28 * available on the same license terms set forth above.
23 */ 29 */
24 30
25 #ifndef SHARE_VM_UTILITIES_MACROS_HPP 31 #ifndef SHARE_VM_UTILITIES_MACROS_HPP
26 #define SHARE_VM_UTILITIES_MACROS_HPP 32 #define SHARE_VM_UTILITIES_MACROS_HPP
27 33
354 #else 360 #else
355 #define SPARC_ONLY(code) 361 #define SPARC_ONLY(code)
356 #define NOT_SPARC(code) code 362 #define NOT_SPARC(code) code
357 #endif 363 #endif
358 364
365 #ifdef MIPS64
366 #define MIPS64_ONLY(code) code
367 #define NOT_MIPS64(code)
368 #else
369 #define MIPS64_ONLY(code)
370 #define NOT_MIPS64(code) code
371 #endif
372
359 #if defined(PPC32) || defined(PPC64) 373 #if defined(PPC32) || defined(PPC64)
360 #ifndef PPC 374 #ifndef PPC
361 #define PPC 375 #define PPC
362 #endif 376 #endif
363 #define PPC_ONLY(code) code 377 #define PPC_ONLY(code) code

mercurial