Fix compilation on big endian machines

This commit is contained in:
Ori Avtalion 2009-02-09 22:14:40 +02:00
parent d629112ec3
commit e29f14a6d0

View File

@ -177,8 +177,8 @@ host_setup_cached_reg (COMMON_ARGS, int guest_reg,
& (MAP_NATIVE_MASK & (MAP_NATIVE_MASK
#ifdef LITTLEENDIAN #ifdef LITTLEENDIAN
| MAP_SWAP16_MASK | MAP_SWAP32_MASK | MAP_SWAP16_MASK | MAP_SWAP32_MASK
))
#endif /* LITTLEENDIAN */ #endif /* LITTLEENDIAN */
))
{ {
host_unoffset_reg (c, codep, cc_spill_if_changed, host_unoffset_reg (c, codep, cc_spill_if_changed,
guest_reg); guest_reg);