mirror of
https://git.suyu.dev/suyu/dynarmic.git
synced 2026-02-18 22:42:58 +00:00
Frontend/Decoder: 1. Remove member pointer as a template argument. 2. Sort ARM table such that unconditional instructions are on top.
This commit is contained in:
@@ -11,12 +11,12 @@
|
||||
namespace Dynarmic {
|
||||
namespace mp {
|
||||
|
||||
template<typename MemFnT, MemFnT fn>
|
||||
template<typename MemFnT>
|
||||
struct MemFnInfo;
|
||||
|
||||
/// This struct provides information about a member function pointer.
|
||||
template<typename T, typename ReturnT, typename ...Args, ReturnT (T::*fn)(Args...)>
|
||||
struct MemFnInfo<ReturnT (T::*)(Args...), fn> {
|
||||
template<typename T, typename ReturnT, typename ...Args>
|
||||
struct MemFnInfo<ReturnT (T::*)(Args...)> {
|
||||
using class_type = T;
|
||||
using return_type = ReturnT;
|
||||
static constexpr size_t args_count = sizeof...(Args);
|
||||
|
||||
Reference in New Issue
Block a user