mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-03-11 16:12:57 +00:00
decoder: Generify the matcher interface (#33)
Gets rid of a bit of duplication while remaining compatible with the current interfaces in place.
This commit is contained in:
@@ -21,6 +21,8 @@ namespace Arm {
|
||||
namespace {
|
||||
|
||||
struct ThumbTranslatorVisitor final {
|
||||
using instruction_return_type = bool;
|
||||
|
||||
explicit ThumbTranslatorVisitor(IR::LocationDescriptor descriptor) : ir(descriptor) {
|
||||
ASSERT_MSG(descriptor.TFlag(), "The processor must be in Thumb mode");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user