зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1440618 - Remove unused register definitions. r=bbouvier
--HG-- extra : rebase_source : 146f0805a6e92f2c71376e9af5db61ea4434cb33
This commit is contained in:
Родитель
b824579296
Коммит
8c4908c86d
|
@ -178,20 +178,6 @@ struct ScratchDoubleScope : public AutoFloatRegisterScope
|
|||
{ }
|
||||
};
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Enable Activation block.
|
||||
static constexpr Register WasmIonExitRegCallee = r4;
|
||||
static constexpr Register WasmIonExitRegE0 = r0;
|
||||
static constexpr Register WasmIonExitRegE1 = r1;
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Disable Activation block.
|
||||
// None of these may be the second scratch register (lr).
|
||||
static constexpr Register WasmIonExitRegReturnData = r2;
|
||||
static constexpr Register WasmIonExitRegReturnType = r3;
|
||||
static constexpr Register WasmIonExitTlsReg = r9;
|
||||
static constexpr Register WasmIonExitRegD0 = r0;
|
||||
static constexpr Register WasmIonExitRegD1 = r1;
|
||||
static constexpr Register WasmIonExitRegD2 = r4;
|
||||
|
||||
// Registerd used in RegExpMatcher instruction (do not use JSReturnOperand).
|
||||
static constexpr Register RegExpMatcherRegExpReg = CallTempReg0;
|
||||
static constexpr Register RegExpMatcherStringReg = CallTempReg1;
|
||||
|
|
|
@ -119,20 +119,6 @@ REGISTER_CODE_LIST(IMPORT_VIXL_VREGISTERS)
|
|||
|
||||
static constexpr ValueOperand JSReturnOperand = ValueOperand(JSReturnReg);
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Enable Activation block.
|
||||
static constexpr Register WasmIonExitRegCallee = r8;
|
||||
static constexpr Register WasmIonExitRegE0 = r0;
|
||||
static constexpr Register WasmIonExitRegE1 = r1;
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Disable Activation block.
|
||||
// None of these may be the second scratch register.
|
||||
static constexpr Register WasmIonExitRegReturnData = r2;
|
||||
static constexpr Register WasmIonExitRegReturnType = r3;
|
||||
static constexpr Register WasmIonExitTlsReg = r17;
|
||||
static constexpr Register WasmIonExitRegD0 = r0;
|
||||
static constexpr Register WasmIonExitRegD1 = r1;
|
||||
static constexpr Register WasmIonExitRegD2 = r4;
|
||||
|
||||
// Registerd used in RegExpMatcher instruction (do not use JSReturnOperand).
|
||||
static constexpr Register RegExpMatcherRegExpReg = CallTempReg0;
|
||||
static constexpr Register RegExpMatcherStringReg = CallTempReg1;
|
||||
|
|
|
@ -112,17 +112,6 @@ static constexpr FloatRegister ScratchSimd128Reg = InvalidFloatReg;
|
|||
// accessed with a single instruction.
|
||||
static const int32_t WasmGlobalRegBias = 32768;
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Enable Activation block.
|
||||
static constexpr Register WasmIonExitRegCallee = t0;
|
||||
static constexpr Register WasmIonExitRegE0 = a0;
|
||||
static constexpr Register WasmIonExitRegE1 = a1;
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Disable Activation block.
|
||||
// None of these may be the second scratch register (t8).
|
||||
static constexpr Register WasmIonExitRegD0 = a0;
|
||||
static constexpr Register WasmIonExitRegD1 = a1;
|
||||
static constexpr Register WasmIonExitRegD2 = t0;
|
||||
|
||||
// Registerd used in RegExpMatcher instruction (do not use JSReturnOperand).
|
||||
static constexpr Register RegExpMatcherRegExpReg = CallTempReg0;
|
||||
static constexpr Register RegExpMatcherStringReg = CallTempReg1;
|
||||
|
|
|
@ -98,12 +98,6 @@ struct ScratchDoubleScope : public AutoFloatRegisterScope
|
|||
{ }
|
||||
};
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Disable Activation block.
|
||||
// None of these may be the second scratch register (t8).
|
||||
static constexpr Register WasmIonExitRegReturnData = JSReturnReg_Data;
|
||||
static constexpr Register WasmIonExitRegReturnType = JSReturnReg_Type;
|
||||
static constexpr Register WasmIonExitTlsReg = s5;
|
||||
|
||||
static constexpr FloatRegister f0 = { FloatRegisters::f0, FloatRegister::Double };
|
||||
static constexpr FloatRegister f2 = { FloatRegisters::f2, FloatRegister::Double };
|
||||
static constexpr FloatRegister f4 = { FloatRegisters::f4, FloatRegister::Double };
|
||||
|
|
|
@ -92,12 +92,6 @@ struct ScratchDoubleScope : public AutoFloatRegisterScope
|
|||
{ }
|
||||
};
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Disable Activation block.
|
||||
// None of these may be the second scratch register (t8).
|
||||
static constexpr Register WasmIonExitRegReturnData = JSReturnReg_Data;
|
||||
static constexpr Register WasmIonExitRegReturnType = JSReturnReg_Type;
|
||||
static constexpr Register WasmIonExitTlsReg = s5;
|
||||
|
||||
static constexpr FloatRegister f0 = { FloatRegisters::f0, FloatRegisters::Double };
|
||||
static constexpr FloatRegister f1 = { FloatRegisters::f1, FloatRegisters::Double };
|
||||
static constexpr FloatRegister f2 = { FloatRegisters::f2, FloatRegisters::Double };
|
||||
|
|
|
@ -41,17 +41,6 @@ static constexpr Register IntArgReg2 { Registers::invalid_reg };
|
|||
static constexpr Register IntArgReg3 { Registers::invalid_reg };
|
||||
static constexpr Register HeapReg { Registers::invalid_reg };
|
||||
|
||||
static constexpr Register WasmIonExitRegCallee { Registers::invalid_reg };
|
||||
static constexpr Register WasmIonExitRegE0 { Registers::invalid_reg };
|
||||
static constexpr Register WasmIonExitRegE1 { Registers::invalid_reg };
|
||||
|
||||
static constexpr Register WasmIonExitRegReturnData { Registers::invalid_reg };
|
||||
static constexpr Register WasmIonExitRegReturnType { Registers::invalid_reg };
|
||||
static constexpr Register WasmIonExitTlsReg { Registers::invalid_reg };
|
||||
static constexpr Register WasmIonExitRegD0 { Registers::invalid_reg };
|
||||
static constexpr Register WasmIonExitRegD1 { Registers::invalid_reg };
|
||||
static constexpr Register WasmIonExitRegD2 { Registers::invalid_reg };
|
||||
|
||||
static constexpr Register RegExpTesterRegExpReg { Registers::invalid_reg };
|
||||
static constexpr Register RegExpTesterStringReg { Registers::invalid_reg };
|
||||
static constexpr Register RegExpTesterLastIndexReg { Registers::invalid_reg };
|
||||
|
|
|
@ -148,19 +148,6 @@ static constexpr uint32_t NumFloatArgRegs = 8;
|
|||
static constexpr FloatRegister FloatArgRegs[NumFloatArgRegs] = { xmm0, xmm1, xmm2, xmm3, xmm4, xmm5, xmm6, xmm7 };
|
||||
#endif
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Enable Activation block.
|
||||
static constexpr Register WasmIonExitRegCallee = r10;
|
||||
static constexpr Register WasmIonExitRegE0 = rax;
|
||||
static constexpr Register WasmIonExitRegE1 = rdi;
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Disable Activation block.
|
||||
static constexpr Register WasmIonExitRegReturnData = ecx;
|
||||
static constexpr Register WasmIonExitRegReturnType = ecx;
|
||||
static constexpr Register WasmIonExitTlsReg = r14;
|
||||
static constexpr Register WasmIonExitRegD0 = rax;
|
||||
static constexpr Register WasmIonExitRegD1 = rdi;
|
||||
static constexpr Register WasmIonExitRegD2 = rbx;
|
||||
|
||||
// Registerd used in RegExpMatcher instruction (do not use JSReturnOperand).
|
||||
static constexpr Register RegExpMatcherRegExpReg = CallTempReg0;
|
||||
static constexpr Register RegExpMatcherStringReg = CallTempReg1;
|
||||
|
|
|
@ -113,19 +113,6 @@ static constexpr Register WasmTableCallIndexReg = ABINonArgReg2;
|
|||
static constexpr Register OsrFrameReg = edx;
|
||||
static constexpr Register PreBarrierReg = edx;
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Enable Activation block.
|
||||
static constexpr Register WasmIonExitRegCallee = ecx;
|
||||
static constexpr Register WasmIonExitRegE0 = edi;
|
||||
static constexpr Register WasmIonExitRegE1 = eax;
|
||||
|
||||
// Registers used in the GenerateFFIIonExit Disable Activation block.
|
||||
static constexpr Register WasmIonExitRegReturnData = edx;
|
||||
static constexpr Register WasmIonExitRegReturnType = ecx;
|
||||
static constexpr Register WasmIonExitTlsReg = esi;
|
||||
static constexpr Register WasmIonExitRegD0 = edi;
|
||||
static constexpr Register WasmIonExitRegD1 = eax;
|
||||
static constexpr Register WasmIonExitRegD2 = ebx;
|
||||
|
||||
// Registerd used in RegExpMatcher instruction (do not use JSReturnOperand).
|
||||
static constexpr Register RegExpMatcherRegExpReg = CallTempReg0;
|
||||
static constexpr Register RegExpMatcherStringReg = CallTempReg1;
|
||||
|
|
Загрузка…
Ссылка в новой задаче