Debian Codegraph @

js/src/jit/wasm32/MoveEmitter-wasm32.h

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