From 9e963f8c1b72da7103a3a54dd0d8ac91e954d6d5 Mon Sep 17 00:00:00 2001 From: Brick Date: Fri, 19 Oct 2018 15:54:11 +0100 Subject: Fixed MediumLevelILInstructionBase::GetNonSSAForm --- mediumlevelilinstruction.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mediumlevelilinstruction.cpp') diff --git a/mediumlevelilinstruction.cpp b/mediumlevelilinstruction.cpp index 08472004..ff779294 100644 --- a/mediumlevelilinstruction.cpp +++ b/mediumlevelilinstruction.cpp @@ -1166,7 +1166,7 @@ MediumLevelILInstruction MediumLevelILInstructionBase::GetSSAForm() const return *this; size_t expr = GetSSAExprIndex(); size_t instr = GetSSAInstructionIndex(); - return MediumLevelILInstruction(ssa, ssa->GetRawExpr(GetSSAExprIndex()), expr, instr); + return MediumLevelILInstruction(ssa, ssa->GetRawExpr(expr), expr, instr); } @@ -1177,7 +1177,7 @@ MediumLevelILInstruction MediumLevelILInstructionBase::GetNonSSAForm() const return *this; size_t expr = GetNonSSAExprIndex(); size_t instr = GetNonSSAInstructionIndex(); - return MediumLevelILInstruction(nonSsa, nonSsa->GetRawExpr(GetSSAExprIndex()), expr, instr); + return MediumLevelILInstruction(nonSsa, nonSsa->GetRawExpr(expr), expr, instr); } -- cgit v1.3.1