8256166: [C2] Registers get confused on Big Endian after 8221404
Reviewed-by: redestad, thartmann
This commit is contained in:
parent
ed615e3ca0
commit
436019b8bb
@ -110,7 +110,12 @@ class RegMask {
|
||||
FORALL_BODY
|
||||
# undef BODY
|
||||
int dummy = 0) {
|
||||
#if defined(VM_LITTLE_ENDIAN) || !defined(_LP64)
|
||||
# define BODY(I) _RM_I[I] = a##I;
|
||||
#else
|
||||
// We need to swap ints.
|
||||
# define BODY(I) _RM_I[I ^ 1] = a##I;
|
||||
#endif
|
||||
FORALL_BODY
|
||||
# undef BODY
|
||||
_lwm = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user