summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mediumlevelilinstruction.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}