tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

SharedICRegisters-wasm32.h (1444B)


      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_wasm32_SharedICRegisters_wasm32_h
      8 #define jit_wasm32_SharedICRegisters_wasm32_h
      9 
     10 #include "jit/Registers.h"
     11 #include "jit/RegisterSets.h"
     12 #include "jit/wasm32/MacroAssembler-wasm32.h"
     13 
     14 namespace js::jit {
     15 
     16 static constexpr Register BaselineStackReg = StackPointer;
     17 static constexpr Register BaselineFrameReg = FramePointer;
     18 
     19 static constexpr ValueOperand R0 = JSReturnOperand;
     20 static constexpr ValueOperand R1 = JSReturnOperand;
     21 static constexpr ValueOperand R2 = JSReturnOperand;
     22 
     23 static constexpr Register ICTailCallReg{Registers::invalid_reg};
     24 static constexpr Register ICStubReg{Registers::invalid_reg};
     25 
     26 static constexpr Register ExtractTemp0{Registers::invalid_reg};
     27 static constexpr Register ExtractTemp1{Registers::invalid_reg};
     28 
     29 static constexpr FloatRegister FloatReg0 = {FloatRegisters::invalid_reg};
     30 static constexpr FloatRegister FloatReg1 = {FloatRegisters::invalid_reg};
     31 static constexpr FloatRegister FloatReg2 = {FloatRegisters::invalid_reg};
     32 static constexpr FloatRegister FloatReg3 = {FloatRegisters::invalid_reg};
     33 
     34 }  // namespace js::jit
     35 
     36 #endif /* jit_wasm32_SharedICRegisters_wasm32_h */