diff --git a/core/codegen/src/x86/X64InstructionDecoder.cpp b/core/codegen/src/x86/X64InstructionDecoder.cpp index 906d49956..c367e3577 100644 --- a/core/codegen/src/x86/X64InstructionDecoder.cpp +++ b/core/codegen/src/x86/X64InstructionDecoder.cpp @@ -431,7 +431,11 @@ DecodedInstructionInfo X64InstructionDecoder::DecodeInstruction( return info; } if (reg == 3) { - info.FlowKind = ControlFlowKind::Return; + info.FlowKind = ControlFlowKind::IndirectCall; + return info; + } + if (reg == 5) { + info.FlowKind = ControlFlowKind::IndirectJump; return info; } }