Remove constexpr from ppu/spu decoders.

We don't need them at compile time (yet).
But can reduce compile time and complexity.
This commit is contained in:
Nekotekina 2020-12-10 15:06:01 +03:00
parent b382d3b3e9
commit 65c04e4ddd
10 changed files with 28 additions and 28 deletions

View file

@ -23,8 +23,8 @@
#define SPU_OFF_16(x, ...) asmjit::x86::word_ptr(*cpu, offset32(&spu_thread::x, ##__VA_ARGS__))
#define SPU_OFF_8(x, ...) asmjit::x86::byte_ptr(*cpu, offset32(&spu_thread::x, ##__VA_ARGS__))
constexpr spu_decoder<spu_interpreter_fast> g_spu_interpreter_fast; // TODO: avoid
constexpr spu_decoder<spu_recompiler> s_spu_decoder;
extern const spu_decoder<spu_interpreter_fast> g_spu_interpreter_fast{}; // TODO: avoid
const spu_decoder<spu_recompiler> s_spu_decoder;
extern u64 get_timebased_time();