Bug 1804461: Remove SingleByteRegs from non x86 architectures r=nbp

Remove `SingleByteRegs` constants from non-x86 architectures for which they
don't make sense.

Differential Revision: https://phabricator.services.mozilla.com/D165485
This commit is contained in:
Michael Holloway 2023-01-19 10:29:52 +00:00
parent 6654b9529a
commit a2a2b01364
3 changed files with 0 additions and 6 deletions

View File

@ -117,8 +117,6 @@ class Registers {
(1 << Registers::r4) | // = outReg
(1 << Registers::r5); // = argBase
static const SetType SingleByteRegs = VolatileMask | NonVolatileMask;
static const SetType NonAllocatableMask =
(1 << Registers::sp) | (1 << Registers::r12) | // r12 = ip = scratch
(1 << Registers::lr) | (1 << Registers::pc) | (1 << Registers::fp);

View File

@ -197,8 +197,6 @@ class Registers {
(1 << Registers::x25) | (1 << Registers::x26) | (1 << Registers::x27) |
(1 << Registers::x28) | (1 << Registers::x29) | (1 << Registers::x30);
static const SetType SingleByteRegs = VolatileMask | NonVolatileMask;
static const SetType NonAllocatableMask =
(1 << Registers::x28) | // PseudoStackPointer.
(1 << Registers::ip0) | // First scratch register.

View File

@ -181,8 +181,6 @@ class Registers {
(1 << Registers::s4) | (1 << Registers::s5) | (1 << Registers::s6) |
(1 << Registers::s7) | (1 << Registers::s8);
static const SetType SingleByteRegs = VolatileMask | NonVolatileMask;
static const SetType NonAllocatableMask =
(1 << Registers::zero) | // Always be zero.
(1 << Registers::t7) | // First scratch register.