diff --git a/InstructionSets/x86/Instruction.hpp b/InstructionSets/x86/Instruction.hpp index b0fa9ba2b..fc1aff1fc 100644 --- a/InstructionSets/x86/Instruction.hpp +++ b/InstructionSets/x86/Instruction.hpp @@ -728,7 +728,7 @@ template class Instruction { /// this allows a denser packing of instructions into containers. size_t packing_size() const { return - offsetof(Instruction, extensions) + + offsetof(Instruction, extensions_) + (has_displacement() + has_operand()) * sizeof(ImmediateT); }