mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-28 15:23:51 +00:00
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:
parent
6654b9529a
commit
a2a2b01364
@ -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);
|
||||
|
@ -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.
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user