diff options
| author | David Marcec <dmarcecguzman@gmail.com> | 2020-05-30 12:23:58 +1000 |
|---|---|---|
| committer | David Marcec <dmarcecguzman@gmail.com> | 2020-05-30 12:23:58 +1000 |
| commit | 8118ea160b194fbcc600c44bff3be556b249c780 (patch) | |
| tree | b9254154aadf20412b6fbb35e549fcf040525d62 /src/video_core/macro/macro_jit_x64.h | |
| parent | b032ebdfee1928c4458eaf15faa0cff299371e65 (diff) | |
Favor switch case over jump table
Easier to read and will emit a jump table automatically.
Diffstat (limited to 'src/video_core/macro/macro_jit_x64.h')
| -rw-r--r-- | src/video_core/macro/macro_jit_x64.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/macro/macro_jit_x64.h b/src/video_core/macro/macro_jit_x64.h index 71cd6a3b0..729ed7713 100644 --- a/src/video_core/macro/macro_jit_x64.h +++ b/src/video_core/macro/macro_jit_x64.h @@ -35,6 +35,7 @@ class MacroJITx64Impl : public Xbyak::CodeGenerator, public CachedMacro { public: MacroJITx64Impl(Engines::Maxwell3D& maxwell3d, const std::vector<u32>& code); ~MacroJITx64Impl(); + void Execute(std::vector<u32>& parameters, u32 method) override; void Compile_ALU(Macro::Opcode opcode); |
