1.1 --- a/src/share/vm/utilities/macros.hpp Mon Sep 08 12:35:01 2014 -0700 1.2 +++ b/src/share/vm/utilities/macros.hpp Tue Aug 08 15:57:29 2017 +0800 1.3 @@ -22,6 +22,12 @@ 1.4 * 1.5 */ 1.6 1.7 +/* 1.8 + * This file has been modified by Loongson Technology in 2015. These 1.9 + * modifications are Copyright (c) 2015 Loongson Technology, and are made 1.10 + * available on the same license terms set forth above. 1.11 + */ 1.12 + 1.13 #ifndef SHARE_VM_UTILITIES_MACROS_HPP 1.14 #define SHARE_VM_UTILITIES_MACROS_HPP 1.15 1.16 @@ -356,6 +362,14 @@ 1.17 #define NOT_SPARC(code) code 1.18 #endif 1.19 1.20 +#ifdef MIPS64 1.21 +#define MIPS64_ONLY(code) code 1.22 +#define NOT_MIPS64(code) 1.23 +#else 1.24 +#define MIPS64_ONLY(code) 1.25 +#define NOT_MIPS64(code) code 1.26 +#endif 1.27 + 1.28 #if defined(PPC32) || defined(PPC64) 1.29 #ifndef PPC 1.30 #define PPC