SharedICRegisters-x64.h (1064B)
1 /* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- 2 * vim: set ts=8 sts=2 et sw=2 tw=80: 3 * This Source Code Form is subject to the terms of the Mozilla Public 4 * License, v. 2.0. If a copy of the MPL was not distributed with this 5 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ 6 7 #ifndef jit_x64_SharedICRegisters_x64_h 8 #define jit_x64_SharedICRegisters_x64_h 9 10 #include "jit/Registers.h" 11 #include "jit/RegisterSets.h" 12 #include "jit/x64/Assembler-x64.h" 13 14 namespace js { 15 namespace jit { 16 17 static constexpr ValueOperand R0(rcx); 18 static constexpr ValueOperand R1(rbx); 19 static constexpr ValueOperand R2(rax); 20 21 static constexpr Register ICTailCallReg = rsi; 22 static constexpr Register ICStubReg = rdi; 23 24 // FloatReg0 must be equal to ReturnFloatReg. 25 static constexpr FloatRegister FloatReg0 = xmm0; 26 static constexpr FloatRegister FloatReg1 = xmm1; 27 static constexpr FloatRegister FloatReg2 = xmm2; 28 static constexpr FloatRegister FloatReg3 = xmm3; 29 30 } // namespace jit 31 } // namespace js 32 33 #endif /* jit_x64_SharedICRegisters_x64_h */