MoveEmitter-none.h (880B)
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_none_MoveEmitter_none_h 8 #define jit_none_MoveEmitter_none_h 9 10 #include "mozilla/Assertions.h" 11 12 namespace js { 13 namespace jit { 14 15 class MacroAssemblerNone; 16 class MoveResolver; 17 struct Register; 18 19 class MoveEmitterNone { 20 public: 21 explicit MoveEmitterNone(MacroAssemblerNone&) { MOZ_CRASH(); } 22 void emit(const MoveResolver&) { MOZ_CRASH(); } 23 void finish() { MOZ_CRASH(); } 24 void setScratchRegister(Register) { MOZ_CRASH(); } 25 }; 26 27 using MoveEmitter = MoveEmitterNone; 28 29 } // namespace jit 30 } // namespace js 31 32 #endif /* jit_none_MoveEmitter_none_h */