1.1 --- a/src/cpu/mips/vm/bytes_mips.hpp Mon Sep 03 14:27:42 2018 +0800 1.2 +++ b/src/cpu/mips/vm/bytes_mips.hpp Tue Sep 04 21:25:12 2018 +0800 1.3 @@ -111,8 +111,8 @@ 1.4 } 1.5 } 1.6 static inline void put_native_u4(address p, u4 x) { 1.7 - /* 2016/5/8 Jin: refer to sparc implementation. 1.8 - Note that sparc is big-endian, while mips is little-endian */ 1.9 + // refer to sparc implementation. 1.10 + // Note that sparc is big-endian, while mips is little-endian 1.11 switch ( intptr_t(p) & 3 ) { 1.12 case 0: *(u4*)p = x; 1.13 break; 1.14 @@ -129,8 +129,8 @@ 1.15 } 1.16 } 1.17 static inline void put_native_u8(address p, u8 x) { 1.18 - /* 2016/5/8 Jin: refer to sparc implementation. 1.19 - Note that sparc is big-endian, while mips is little-endian */ 1.20 + // refer to sparc implementation. 1.21 + // Note that sparc is big-endian, while mips is little-endian 1.22 switch ( intptr_t(p) & 7 ) { 1.23 case 0: *(u8*)p = x; 1.24 break;