/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- * vim: set ts=8 sts=2 et sw=2 tw=80: * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at http://mozilla.org/MPL/2.0/. */ #ifndef jit_mips64_CodeGenerator_mips64_h #define jit_mips64_CodeGenerator_mips64_h #include "jit/mips-shared/CodeGenerator-mips-shared.h" namespace js { namespace jit { class CodeGeneratorMIPS64 : public CodeGeneratorMIPSShared { protected: CodeGeneratorMIPS64(MIRGenerator* gen, LIRGraph* graph, MacroAssembler* masm, const wasm::CodeMetadata* wasmCodeMeta) : CodeGeneratorMIPSShared(gen, graph, masm, wasmCodeMeta) {} template void emitWasmLoadI64(T* ins); template void emitWasmStoreI64(T* ins); void emitBigIntPtrDiv(LBigIntPtrDiv* ins, Register dividend, Register divisor, Register output); void emitBigIntPtrMod(LBigIntPtrMod* ins, Register dividend, Register divisor, Register output); }; typedef CodeGeneratorMIPS64 CodeGeneratorSpecific; } // namespace jit } // namespace js #endif /* jit_mips64_CodeGenerator_mips64_h */