diff --git a/InstructionSets/x86/AccessType.hpp b/InstructionSets/x86/AccessType.hpp index 6f90345a4..b666c59ea 100644 --- a/InstructionSets/x86/AccessType.hpp +++ b/InstructionSets/x86/AccessType.hpp @@ -56,6 +56,7 @@ template struct Accessor { us template using read_t = typename Accessor::type; template using write_t = typename Accessor::type; template using modify_t = typename Accessor::type; +template using access_t = typename Accessor::type; } diff --git a/InstructionSets/x86/Implementation/PerformImplementation.hpp b/InstructionSets/x86/Implementation/PerformImplementation.hpp index 3d854b86a..c3a3626f6 100644 --- a/InstructionSets/x86/Implementation/PerformImplementation.hpp +++ b/InstructionSets/x86/Implementation/PerformImplementation.hpp @@ -281,7 +281,7 @@ void add(IntT &destination, IntT source, ContextT &context) { template void sub( - typename Accessor::type destination, + access_t destination, read_t source, ContextT &context ) {