diff --git a/src/base/SMPInstr.cpp b/src/base/SMPInstr.cpp index e0fb65da994904ae3ed064f6fc132856f107f8c7..32cf78dbfa214f0a76509d9cb4570cb6c8f3afa2 100644 --- a/src/base/SMPInstr.cpp +++ b/src/base/SMPInstr.cpp @@ -1376,6 +1376,7 @@ size_t SMPRegTransfer::MDSignExtend64RightOpIfNeeded(void) { ExtendedRT->SetOperator(SMP_SIGN_EXTEND); ExtendedRT->SetLeftOperand(this->RightOperand); ExtendedRT->SetRightOperand(this->ParentInst->MakeVoidOpnd()); + ExtendedRT->SetParentInst(this->ParentInst); this->SetRightTree(ExtendedRT); FinalByteWidth = 8; SMP_msg("INFO: Sign-extending right RTL operand to 64 bits at %llx\n",